radare2/libr/io
2018-04-03 14:44:23 +02:00
..
p Implement r2k.wp and fix r2k.io 2018-04-03 14:44:23 +02:00
cache.c Fix JSON output of wcj (#9643) 2018-03-10 14:15:29 +01:00
desc.c
fd.c
io.c Few improvements to 8051 memory mapping (#9686) 2018-03-14 13:07:22 +01:00
iobuf.c
ioutils.c
Makefile
map.c refactor for riobind 2018-02-03 19:22:56 +01:00
meson.build Meson: Add version info for shared libs (#9763) 2018-03-24 18:18:32 +01:00
p_cache.c fix pcache ptr-fuckup 2018-03-14 23:54:41 +01:00
plugin.c Add missing commas in oLj output (#9634) 2018-03-09 02:41:21 +01:00
README
section.c
undo.c Improve r2k-linux \? commands and revert io.undo patch 2018-04-03 02:02:48 +02:00
undo.h

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
}