mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-03 20:22:38 +00:00
31e8d7cb68
* Fix bits_ranges memory leak in anal.c * Fix anal->reg memory leak and prevent use after free in plugin.c * Fix reg->allregs memory leak in reg.c * Fix dbg->plugins memory leak in debug.c * Fix io->plugin_default memory leak in io.c * Fix plugin_free not deallocating plugin in bin.c * Adapt to style guidelines * Fix memory leak in r_bin_object_free and resolve double free * Fix o->kv memory leak in r_bin_object_set_items * Fix memory leak pushing arena on reg init * Fix io->plugin_default memory leak in io.c * Adapt to style guidelines * Fix pfile memory leak in radare2.c * Add braces to if in bin.c
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 }