summaryrefslogtreecommitdiff
path: root/src/ptrace-address-rw.c
blob: ccb89cbdacd1a93a1b854277e898b14e702ea2f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "cli/cli.h"
#include "mem/io.h"

// This address-rw uses ptrace
// This works with older kernels, but it also ensures non racy read/writes, as it stops the process.

int
main(int argc, const char *argv[])
{
   return proc_address_rw(argc, argv, mem_io_ptrace_init);
}