Commit graph

14 commits

Author SHA1 Message Date
Arya H R
3247c3e97f
refactor: output legacy integer mode to use RzOutputMode (#5815) 2026-03-24 06:12:43 +08:00
Giovanni
141f05b126
Remove rz_io_read_at and use only rz_io_read_at_mapped (#5777) 2026-01-11 22:50:50 +08:00
Peiwei Hu
32491012ee
Refactor the maps in RzBinPlugin from list to pvector (#4081) 2024-01-07 12:42:54 +08:00
Peiwei Hu
286d9bd874
Transition of virtual_files in RzBinPlugin (from list to pvector) (#4042) 2023-12-22 01:06:18 +08:00
Riccardo Schirone
c9d6ad9ee6
io: return error when reading/writing to unmapped memory (#3323)
* core: 'wow' command was replaced with 'wb'

* io: on_map_skyline returns false when nothing was done

Before this patch on_map_skyline returned true even when the callback
was not called on any part of the skyline. In other words,
reading/writing to an unmapped memory returned true.

This commit changes the behaviour to return false in those cases.

* analysis/esil: mem_read/mem_write were alway returning true

* use o malloc instead of oC

* librz: deal with seek errors
2023-02-11 11:36:27 +01:00
Florian Märkl
88ec019514
Store back-references to core files in RzIOMap (#2408)
This allows tracing an io map back to the RzCoreFile and thus also its
bin file and other info. This is used in rz-ghidra to determine which
memory ranges can be considered readonly to enable constant propagation.
2022-03-14 10:09:14 +01:00
GustavoLCR
c9acf440cf
Reorganize map skyline segments 2021-08-03 22:44:38 +08:00
Alexis Ehret
0c1c9e0081 Change interface load_buffer RzBin (librz/bin) 2021-07-28 16:40:14 +02:00
Florian Märkl
a0729d4d80 Implement Full Reloc Patching for ELF in Virtual Files 2021-05-17 17:23:19 +08:00
Florian Märkl
7b63cb72ed Add RzBinVirtualFile 2021-05-17 17:23:19 +08:00
Florian Märkl
fdc5a414f1 Add Tests to Fix 2021-05-08 13:04:10 +02:00
Florian Märkl
be06cf0546 Track all related RzIOMaps and RzIODescs in RzCoreFile 2021-05-01 20:41:29 +02:00
Florian Märkl
b212b462d6 Clean up RzCoreFile 2021-05-01 20:41:29 +02:00
Florian Märkl
43bcdecf56 Add Unit Tests for Core RzBin Mapping 2021-05-01 20:41:29 +02:00