mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-13 16:18:33 +00:00
31 lines
483 B
Plaintext
31 lines
483 B
Plaintext
RIO design
|
|
==========
|
|
|
|
rio api allows to seamlessly access to underlying IO backends
|
|
and define rules on top of it to act as an mmu.
|
|
|
|
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
|
|
}
|