radare2/libr/io
2010-03-12 13:35:10 +01:00
..
p * Rename cons/filter.c to grep.c 2010-03-08 00:18:58 +01:00
t * Fix build in OSX 2010-02-21 20:21:36 +01:00
cache.c * Rename MALLOC_STRUCT into R_NEW and deprecate it. 2010-03-12 13:35:10 +01:00
desc.c * Initial quick-and-dirty implementation of backtrace 2010-03-01 10:49:04 +01:00
handle.c * Rename MALLOC_STRUCT into R_NEW and deprecate it. 2010-03-12 13:35:10 +01:00
io.c * Rename MALLOC_STRUCT into R_NEW and deprecate it. 2010-03-12 13:35:10 +01:00
Makefile * Many more fixes for the mingw32 port 2010-01-15 13:02:54 +01:00
map.c * Rename MALLOC_STRUCT into R_NEW and deprecate it. 2010-03-12 13:35:10 +01:00
README * Some malloc checks in _new() class constructors 2009-09-09 00:35:00 +00:00
section.c * r_bin 2010-02-21 11:35:49 +01:00
undo.c * Rename MALLOC_STRUCT into R_NEW and deprecate it. 2010-03-12 13:35:10 +01:00
undo.h * Change the name of some types 2009-07-08 13:49:55 +02:00

R_IO
====

IO       - manages basic IO
DESC     - file descriptor (stores seek, io_handler, ..)
HANDLE   - determines io backend by io plugins
SECTION  - allows virtual base addressing over the IO
MAP      - allows virtual maps at random address

// TODO:
  - Can share storage
UNDO     - records all write ops allowing undo, redo, reset operations
  r_io_undo_*
CACHE    - caches write operations to emulate fake reads
  r_io_cache_*

-------------------------------------------

NOTES: each plugin handle must provide a 'optimal' read size.. or io must be configured to this

var io = new Radare.Io();
int fd = io.open("/bin/ls");

foreach (Io.Handle handle in io.handle_list()) {
   stdout.printf(" %s\n", handle.name);
}