Commit Graph

30454 Commits

Author SHA1 Message Date
pancake
d72e6a65ae Fix 1byte oobread bug in the java decoder spotted by arch 2023-06-07 13:09:41 +02:00
pancake
a8cdcaf695
Few less unnecessary allocations for the type propagation (#21849) 2023-06-07 13:01:00 +02:00
pancake
b0fda2bcbd
Fix some memory leaks in REgg and RAnal.x86 2023-06-07 12:08:49 +02:00
pancake
ebcbc547d0 Fix null derefs and memleaks in {esil,debug}traces ##esil
* Requires `e dbg.trace=1; aeim` before testing
2023-06-07 09:53:23 +02:00
pancake
c9469af1fd Fix non-null terminated string in string search hits 2023-06-06 22:37:03 +02:00
pancake
ecbc62aeaa Fix invalid json on 'pfj x[1]z' ##print 2023-06-06 19:09:51 +02:00
pancake
30081d14d9 Fix assert on null deref with the 'pf E' command ##print 2023-06-06 19:09:51 +02:00
pancake
a4b527d6a2 Parse CodeSignatureDirectory entries for mach0 ##bin 2023-06-06 19:09:51 +02:00
pancake
4a53f2b2c0 Dont enable debug tracing from type propagation ##analysis 2023-06-06 12:52:23 +02:00
pancake
0c90170ced
Fix oob write in dyldcache accel loading ##crash 2023-06-05 17:23:10 +02:00
Luc Tielen
6799fa41af Fix undefined behavior when reading java uints ##shlr 2023-06-05 14:26:41 +02:00
pancake
684f26f0b1 Update and improve r2docker as well as publish the new image into the hub ##build 2023-06-05 11:07:51 +02:00
pancake
5bce39e8ee RCore.getSectionName() always return a string 2023-06-05 00:30:29 +02:00
pancake
052c8058d2 Faster Css using the api instead of Cz with tmpseek ##bin
* Perf results are unnoticeable, on a 8MB binary (0.590 vs 0.580)
2023-06-04 11:11:13 +02:00
pancake
eb6f28b174 Filter out the java symbols that shouldnt be public in abidiff 2023-06-04 09:51:31 +02:00
pancake
2990197903 Improve tricore.cs handling jumps/rets/movs/ ##arch
* No esil yet, but at least static analysis starts to work
2023-06-04 09:51:31 +02:00
pancake
64cb2f4082 Add r2pm build-arg to the r2docker with r2frida,r2ghidra,r2dec packages ##build
* Use docker build -t r2 . --build-arg="r2pm=r2frida r2dec"
* Just run make -C dist/docker to get
2023-06-04 05:53:39 +02:00
pancake
f8b78d9461 Use Css in ELF (instead of section.has_strings) to avoid flags ##bin
* Add test
* Note for future-self: default log level = TODO
2023-06-04 04:05:38 +02:00
pancake
cf0bd16991 Implement Css (section string scan) and Csz (same as Cz) ##search
* Search for strings in the current section or given range
2023-06-04 04:05:38 +02:00
pancake
2d37fdf7a4 String search no longer requires a keyword ##search 2023-06-04 04:05:38 +02:00
pancake
0a7030ff1d Apply section formats in a second iteration ##bin
* Fixes the case when maps are required for the command
2023-06-04 04:05:38 +02:00
pancake
d8f7e5dba2 Install r2frida and use /usr as prefix for r2docker ##build 2023-06-04 01:23:11 +02:00
pancake
eb2cfcd676 Improve the twilight theme ##cons 2023-06-04 01:21:45 +02:00
pancake
0dcafd1f20 Fix #21823 - tag static elfs as non libinjectables ##bin 2023-06-03 23:06:31 +02:00
pancake
6ed6b591d4 Fix #19964 - show relro:no even if no dyn section is found ##bin 2023-06-03 21:56:12 +02:00
phix33
fecabf315f
Fix ESIL MIPS64 NOR instruction ##arch 2023-06-03 21:46:50 +02:00
Luc Tielen
fb67ba9edb Add support for even more elf reloc types ##bin 2023-06-02 19:08:08 +02:00
Luc Tielen
33df3336e3 Add support for more elf reloc types ##bin 2023-06-02 19:08:08 +02:00
Luc Tielen
d0df3a23f1 Refactor elf get_import_addr checks ##bin 2023-06-02 19:08:08 +02:00
pancake
8bc86dc951 Ignore rbinjava abi break and not use anal api from arch
* Also avoid the use of r_anal_optype_tostring in RArch
2023-06-02 01:53:23 +02:00
pancake
eb204788ff
Fix #21715 - Add baddr to the class info from DEX ##bin 2023-06-01 19:32:45 +02:00
Luc Tielen
8c3ce37255 Migrate java plugin ##arch 2023-06-01 18:18:27 +02:00
pancake
6102b1208a Fix #17850 - Fix sparc disassembler with invalid instructions 2023-06-01 17:34:46 +02:00
pancake
93dbc62c72
Add missing flags for the internal ELF symbol relocactions ##bin
* Requires further abi breaking changes to be done during 5.9
2023-06-01 16:38:07 +02:00
Luc Tielen
a9005f3137 Check for PT_LOAD segments before fully reading elf phdr ##bin 2023-06-01 16:05:09 +02:00
pancake
6f4b7c1c17
Visual ESIL debugger improvements ##visual
* Show internal register state values
* Allow swift scrolling between tokens
* Fix oobread
2023-06-01 12:56:06 +02:00
pancake
cc37f0c606
Fix #21813 - parsing reg profiles from android-gdbserver ##debug 2023-06-01 12:26:26 +02:00
pancake
945b56ece6 Fix oobread bug in xchg+di arch.i8080 disasm 2023-06-01 02:10:08 +02:00
pancake
8876cb9070 Implement ahb-* missing command ##analysis
* A proper new API must be added in r2-5.9, lets just workaround for now
2023-05-31 23:59:13 +02:00
Murphy
a54704e95d
Migrate i8080 with full refactor ##arch 2023-05-31 19:26:22 +02:00
pancake
8ef97b3918
Improvements in the visual esil debugger and documentation ##esil 2023-05-31 12:26:16 +02:00
pancake
46bd1611b8 Enforce full buffer reads in the ELF + better verinfo parsing 2023-05-31 00:32:43 +02:00
Luc Tielen
f56f5826b4 Iterate over vector i.s.o. list in elf entries ##bin 2023-05-30 21:42:29 +02:00
Luc Tielen
b870b2e513 Speed up loading of elf relocs ##bin 2023-05-30 21:42:29 +02:00
Luc Tielen
4d54769911
Refactor even more parts of elf loader ##bin 2023-05-30 19:59:13 +02:00
pancake
18237ab4f6
More elf refactoring cleanups 2023-05-30 18:29:47 +02:00
Luc Tielen
ae11bc6c84 Refactor more of elf loader ##bin 2023-05-30 17:12:06 +02:00
pancake
211e97bb5a
More progressive improvements to the elf parser 2023-05-30 16:16:49 +02:00
pancake
13eed4268b
Few more code cleanup for the ELF parser 2023-05-30 15:30:37 +02:00
condret
7cb41a4367
Make fortune file selection random ##core 2023-05-30 14:02:47 +02:00