26774 Commits

Author SHA1 Message Date
Dennis Goodlett
81dbf2a5fe
Use non-interactive RCore in rasign2 -S (#19134) 2021-09-24 09:18:24 +02:00
condret
ed311e825f Some cleanup and code deduplication ##io 2021-09-23 16:54:33 +02:00
pancake
c56097a45e
Use sdb_itoa instead of snprintf for emulation ##esil 2021-09-23 15:30:42 +02:00
pancake
b8e2db2fc1 Fix a warning with proper note for my future self 2021-09-23 13:25:35 +02:00
condret
128071b3dc Fix oob write in r_io_bank_{read/write}_at ##io 2021-09-23 13:15:54 +02:00
condret
20f7ed0ef4 Fix omb-command map ids ##io 2021-09-23 13:15:54 +02:00
pancake
d0044b9e95 Fix warning and add more tests for the foreach operators 2021-09-23 13:15:41 +02:00
pancake
5ee6961f0f Add @@@R to iterate over relocs ##shell 2021-09-23 13:15:41 +02:00
pancake
56b5ad8977 Fix UAF crash in pd 2021-09-23 13:15:41 +02:00
pancake
d092285bff Fix #19129 - RBin.getImports() list is unowned 2021-09-23 13:15:41 +02:00
pancake
199976b926
Initial io.banks management commands ##io 2021-09-22 16:44:54 +02:00
pancake
9f53609621 Update v35 disassembler again 2021-09-22 16:09:35 +02:00
meme
33a424636c
Rename MD5 symbols to prevent OpenSSL collision ##build
The other symbols (e.g. SHA1) are renamed with a r_ prefix, but the
MD5 symbols are not.
2021-09-22 15:42:23 +02:00
RHL120
7b11df1c20
Use rmrf in r_core_project_delete 2021-09-21 14:58:28 +02:00
Lazula
cc74784ce6 Minor refactors in disasm.c, primarily r_core_print_disasm() ##refactor ##asm
* Rename locals and struct members to be consistent with new function signature
* Remove some duplicate locals and replace with struct members
* Move loop counters to loop scope and remove unused counters
* Move variable declarations and assignments to more relevant locations
* Collapse several nested, confusing, or redundant logic branches
* Add ds_offset(), ds_bufat(), and ds_left() macros to consistently
  track buffer information
* Add error handling to r_io_nread_at() call in cmd_print.c
* Change formatting
2021-09-21 14:57:49 +02:00
pancake
8d80dbdaac
Update vector35-arm64 to fix build on riscv 2021-09-20 22:12:59 +02:00
condret
d62207bce0 Rename r_io_bank_update_map_location to r_io_bank_update_map_boundaries and make it useable for map resize (siol eternal) ##io 2021-09-20 22:10:08 +02:00
condret
1e2dc7b6cd Some code cleanup (siol eternal) ##io 2021-09-20 22:10:08 +02:00
condret
63cbd4a81a Fix Build 2021-09-20 22:10:08 +02:00
condret
6a972665de Use incremental timestamp on map creation instead of real ones (siol eternal) ##io 2021-09-20 22:10:08 +02:00
condret
b64fd4bcd3 Implement r_io_bank_update_map_location (siol eternal) ##io 2021-09-20 22:10:08 +02:00
condret
442838915f Use r_list_iter_get_prev (siol eternal) ##io 2021-09-20 22:10:08 +02:00
condret
a8e8d0c978 Implement r_io_bank_delete_map and fix some bugs (siol eternal) ##io 2021-09-20 22:10:08 +02:00
condret
326f9fcbc4 Add r_io_bank_drain (siol eternal) ##io 2021-09-20 22:10:08 +02:00
condret
8bb3e35387 Implement r_io_submap_set{from/to} (siol_eternal) #18476 ##io 2021-09-20 22:10:08 +02:00
condret
f2a7efed7d Implement r_io_bank_write_at (siol_eternal) ##io 2021-09-20 22:10:08 +02:00
condret
c7c906a0fb Implement r_io_bank_read_at (siol eternal) ##io 2021-09-20 22:10:08 +02:00
condret
f1639310d9 Constify bankid and mapid in io-bank api (siol eternal) ##io 2021-09-20 22:10:08 +02:00
condret
0dce1c7be5 Imnplement r_io_bank_map_priorize (siol eternal) ##io 2021-09-20 22:10:08 +02:00
condret
ea64077b0b Speedup r_io_bank_map_add_top (siol eternal) ##io 2021-09-20 22:10:08 +02:00
condret
dbf531716a Add missing NULL-check (siol eternal) ##io 2021-09-20 22:10:08 +02:00
condret
2f9a20d090 Fix potential segfault (siol eternal) ##io 2021-09-20 22:10:08 +02:00
condret
8b337b68f8 Adjust codingstyle in libr/io/io_map.c (siol eternal) ##io
Co-authored-by: pancake <pancake@youterm.com>
2021-09-20 22:10:08 +02:00
condret
6a33e28c3e Implement r_io_bank_locate (siol eternal) ##io 2021-09-20 22:10:08 +02:00
condret
4caa7849f1 Implement r_io_bank_map_add_top and r_io_bank_get (siol eternal) ##io 2021-09-20 22:10:08 +02:00
condret
9729c8da04 Implement r_io_bank_{free,init,fini] (siol_eternal) ##io 2021-09-20 22:10:08 +02:00
condret
d3a19f0b0a Update r_io_map_get_by_ref (siol_eternal) ##io 2021-09-20 22:10:08 +02:00
condret
72f7b019c2 Start implementing RIOBank and RIOSubmap ##io 2021-09-20 22:10:08 +02:00
pancake
1c35c6142c Post-release version bump 2021-09-20 13:24:50 +02:00
pancake
84e6cc6a21 Release 5.4.2 5.4.2 2021-09-20 06:46:21 +02:00
pancake
a49e6ec403
Fix the w32 builds 2021-09-20 06:38:02 +02:00
pancake
c546b71ab1 Update sdb dependency to fix a gcc10 warning in sdb_itoa 2021-09-20 06:29:11 +02:00
pancake
2e75afb4d1 Fix issue in Pd without arguments ##projects 2021-09-20 06:23:11 +02:00
pancake
1db46d8c09
* Use r_w32 apis in RThreadCond for Windows ##windows 2021-09-20 05:41:18 +02:00
Dennis Goodlett
f9b6ca907e
Add zign file reading to rasign2 ##signatures (#19116) 2021-09-20 00:21:15 +02:00
pancake
1398432e97
Fix #19043 - Fix loading MZ with text < bsize aka 1byte ##bin (#19115) 2021-09-20 00:20:35 +02:00
Dennis Goodlett
7195616448 Fix potential NULL deref in r_cons_flush 2021-09-19 22:58:26 +02:00
Lazula
006d759bc7 Fix #18887 - Invalid instructions near the end of data in loop ##disasm
* Add debug logs for disasm()
* Remove unused RDisasmState idx member and correct to index
* Set idx to ds->index and add more debug output
* Remove ds->entry
* Fix behaviour in pr_bb()
* Prevent overread in pdb command
* Track disassembler count by byets when using cbytes
* Change function signatures
* Fix pir behaviour by using print_disasm_instructions
2021-09-19 22:37:13 +02:00
pancake
8e439ec4ce Fix invalid disasm on large pd where bb chops invalid instruction ##disasm 2021-09-19 22:37:13 +02:00
pancake
1e38f1e7bb Ensure comments are kept in the project file 2021-09-19 21:49:02 +02:00