radare2/libr/io
2018-06-15 01:20:39 +02:00
..
p Kill the R_ITV defines (-8LOC) 2018-06-15 01:20:39 +02:00
cache.c Kill the R_ITV defines (-8LOC) 2018-06-15 01:20:39 +02:00
desc.c implement pure io-plugin rw in R_API 2018-05-31 23:53:54 +00:00
fd.c fix returnvalue for getbase^ 2017-09-01 01:10:32 +00:00
io.c Few improvements to 8051 memory mapping (#9686) 2018-03-14 13:07:22 +01:00
iobuf.c More build fixes for android 2017-08-19 20:05:21 +02:00
ioutils.c Update sdb-1.1.0, update calls to sdb_fmt() 2018-04-10 23:52:47 +02:00
Makefile Fix static build 2017-09-12 22:31:54 +02:00
map.c refactor for riobind 2018-02-03 19:22:56 +01:00
meson.build Meson: some cleanup (#10076) 2018-05-16 10:24:35 +02:00
p_cache.c Kill the R_ITV defines (-8LOC) 2018-06-15 01:20:39 +02:00
plugin.c implement pure io-plugin rw in R_API 2018-05-31 23:53:54 +00:00
README Add initial XCore capstone disassembler and code analysis plugins 2014-05-27 23:08:59 +02:00
section.c Optimize ls_empty() and r_list_empty() (#10244) 2018-06-03 02:20:28 +02:00
undo.c Improve r2k-linux \? commands and revert io.undo patch 2018-04-03 02:02:48 +02:00
undo.h Use void in prototypes (#7974) 2017-07-20 14:50:13 +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
}