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

// This address-rw uses uio
// It needs recent kernel, but may be racy as it reads / writes while process is running.
// Ideal for realtime memory tools, however uio can't write non-writable memory(!).

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