radare2/libr/io
Riccardo Schirone 3a96e51b3a Fix leak in RIO: free iter after removing it from list
ls_append/ls_prepend will create a new iter, so we need to free the
iter that was removed from the list.
2019-03-05 00:20:46 +01:00
..
p Warn when invalid use of r_buf_buffer (#13240) 2019-03-03 21:26:03 +01:00
cache.c Make wc- invalidate all (fully or partially) overlapping cache (#11241) 2018-08-26 17:38:11 +02:00
desc.c Kill RIOSection ##refactor 2019-01-31 10:53:34 -06:00
fd.c Add r_io_{desc,fd}_is_chardevice. 2018-09-13 17:52:00 +00:00
io_private.h Kill RIOSection ##refactor 2019-01-31 10:53:34 -06:00
io.c Make ASAN green again (#13098) 2019-02-14 18:07:08 +01:00
ioutils.c Kill RIOSection ##refactor 2019-01-31 10:53:34 -06:00
Makefile Kill RIOSection ##refactor 2019-01-31 10:53:34 -06:00
map.c Fix leak in RIO: free iter after removing it from list 2019-03-05 00:20:46 +01:00
meson.build Kill RIOSection ##refactor 2019-01-31 10:53:34 -06:00
p_cache.c Fix #11112 - Rename {srwx,flags,perms} to perm. (-21 LOC) 2018-09-22 11:31:45 +02:00
plugin.c Update plugins.nogpl.cfg and fix a couple of warnings 2019-02-11 12:18:23 +01:00
README
undo.c Almost completely kill RIOSection from io and core (-218LOC) ##refactoring 2019-01-13 03:07:51 +01: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
}