radare2/libr/io
2016-08-31 01:57:36 +02:00
..
p Various fixes for the debug register state on XNU for ARM and x86 2016-08-31 01:57:36 +02:00
buffer.c Fix #3286 - Use stdbool.h 2015-09-14 02:08:31 +02:00
cache.c fix coding style 2016-07-20 18:43:28 +02:00
desc.c fix iZ and negative o for large files (#5242) 2016-07-05 12:46:28 +02:00
io.c Fix regression in AFR related to io_is_valid 2016-08-07 14:08:13 +02:00
Jamroot Introduce debug plugin for QNX pdebug interface 2016-04-22 11:45:51 +02:00
Makefile Introduce debug plugin for QNX pdebug interface 2016-04-22 11:45:51 +02:00
map.c fix somes coverities 2016-06-30 23:38:41 +02:00
plugin.c More refactorings, reindent and cleanup on r_io 2016-06-20 09:12:44 +02:00
README Add initial XCore capstone disassembler and code analysis plugins 2014-05-27 23:08:59 +02:00
section.c Fix uninitialized entry field for MZ bins (jman issue) 2016-08-08 10:45:32 +02:00
undo.c Uniform name RUndos -> RIOUndos (for bindings) 2016-06-02 07:34:06 +03:00
undo.h * Change the name of some types 2009-07-08 13:49:55 +02:00
vio.c fix crash due to UAF with io.vio option 2016-07-03 19:32:06 +02:00

RIO design
==========

rio api allows to seamlessly access to underlying IO backends
and define rules on top of it to act as an mmu.

What do io.va means?
--------------------
- obey sections

- Plugins 

Actions
-------
 - open
 - read
 - seek
 - write
 - close

Layers
------
 - cache    caches write ops and modifies reads
 - map      allows to map a certain file at a given offset
 - sections like maps, but provide more information for virtual addressing

Features
--------
 - undo
 - buffer
 - desc

fn read(io: IO) {
	ut64 offset;
	if io.offset
}