radare2/libr/io
Srimanta Barua d93977358d Small gdb fixes, and added alternate way to get baddr (#8055)
* check if 'g' is supported before switching to reading regs using '?'
* stabilize gdbserver a bit more
* added ability to get baddr even if we can't read memory map (if qOffsets packet is supported)
2017-07-29 17:58:20 +02:00
..
p Small gdb fixes, and added alternate way to get baddr (#8055) 2017-07-29 17:58:20 +02:00
buffer.c Fix some overflow-related covs 2016-10-26 23:40:17 +02:00
cache.c Fix latest covs from io 2017-04-26 11:33:26 +02:00
desc.c Fix a huge list of null derefs from clang-analyzer 2017-04-17 22:02:04 +02:00
io.c Fix the r2 -d segfault on mac 2017-05-28 00:40:09 +02:00
Makefile Improved MSVC support (WIP) 2017-05-09 14:25:57 +02:00
map.c More coverities fixed 2017-04-05 10:59:37 +02:00
meson.build support for static build (#7822) 2017-06-28 22:54:40 +02:00
plugin.c Remove configure-plugins dependency for the make meson 2017-05-26 02:43:53 +02:00
README Add initial XCore capstone disassembler and code analysis plugins 2014-05-27 23:08:59 +02:00
section.c Print out Sa in S*, handy for projects 2017-03-30 02:19:55 +02:00
undo.c Implement s== to show flag names, not just offsets 2017-06-28 14:13:12 +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
}