radare2/libr/io
Nibble 4b052b53ee * r_core
- Add cfg var anal.ptrdepth to define analysis depth for indirect references
  - Add support for indirect references to /a (needs more testing)
* r_io
  - Remove perror msg from r_io_read_i()
* r_anal
  - Minor fixups in arm and x86 plugins
2010-08-19 02:30:12 +02:00
..
p * Merge old w32 build fix 2010-08-08 19:03:51 +02:00
t * Fix build 2010-07-23 12:19:39 +02:00
cache.c * Mental note: %lld/%llx does not exist on windows 2010-04-14 13:02:23 +02:00
desc.c * some more renaming 2010-05-27 00:57:25 +02:00
io.c * r_core 2010-08-19 02:30:12 +02:00
Makefile * Merge old w32 build fix 2010-08-08 19:03:51 +02:00
map.c * initial parsing of 'jns' in anal_x86.c 2010-08-16 11:24:13 +02:00
plugin.c * initial parsing of 'jns' in anal_x86.c 2010-08-16 11:24:13 +02:00
README * Rename {r_*_handle_t, R*Handle} to {r_*_plugin_t, R*Plugin} 2010-05-26 01:42:22 +02:00
section.c * r_core 2010-08-16 01:50:01 +02:00
undo.c * Check 'hg' before starting to build.sh 2010-07-13 01:00:36 +02: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.Plugin handle in io.handle_list()) {
   stdout.printf(" %s\n", handle.name);
}