radare2/libr/io
2016-08-02 13:47:45 +02:00
..
p Fix io.r2k build on mingw 2016-08-02 13:47:45 +02:00
buffer.c
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 iZ and negative o for large files (#5242) 2016-07-05 12:46:28 +02:00
Jamroot
Makefile
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
section.c fix iZ and negative o for large files (#5242) 2016-07-05 12:46:28 +02:00
undo.c
undo.h
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
}