mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-13 16:18:33 +00:00
f1c9c1e778
- Fix warnings in many places * R_APIfication of r_anal - Fix probable segfault in x86_bea * Use macros to define plugin names * Fix build of radare2, rasign2 and debug/t/main * Call sundo_push() when io_seek * Added toggles for seek and write undo levels --HG-- rename : libr/sign/t/rasign.c => libr/sign/t/rasign2.c
27 lines
725 B
Plaintext
27 lines
725 B
Plaintext
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);
|
|
}
|