radare2/libr/io
pancake 8def2767f3 * Initial quick-and-dirty implementation of backtrace
- Using r_list and so on
* Add 'pm' print command using print_format()
* Change color of nops and end-of-block-split lines
* More random syntax fixes
2010-03-01 10:49:04 +01:00
..
p * Implement r_str_argv() 2010-02-23 00:26:13 +01:00
t * Fix build in OSX 2010-02-21 20:21:36 +01:00
cache.c * Added 'mk/stat' tools 2009-09-17 11:48:36 +02:00
desc.c * Initial quick-and-dirty implementation of backtrace 2010-03-01 10:49:04 +01:00
handle.c * Initial steps to make osx-ppc debugger work 2010-02-22 02:42:29 +01:00
io.c * Implement plugin support to r_cmd 2010-02-26 00:37:49 +01:00
Makefile * Many more fixes for the mingw32 port 2010-01-15 13:02:54 +01:00
map.c * Fixtures for the r_io API (breaking ABI and so :) 2009-09-07 20:01:34 +00: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 * Lot of fixes in the vala/swig wing 2010-02-15 22:59:26 +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);
}