Commit Graph

30454 Commits

Author SHA1 Message Date
pancake
93e3c53d55 Fix null deref in arm32 calling conventions via 'aaef' ##analysis 2023-05-03 19:05:03 +02:00
pancake
e7ad116a69 Fix oom bugs in the XTAC parser ##crash 2023-05-03 19:03:18 +02:00
pancake
cbfabb5072 Warn the user when using dd/dm/di without a child ##debug 2023-05-03 18:45:36 +02:00
pancake
853bf7f81e Fix large memory allocations on corrupted LE binaries ##crash 2023-05-03 18:21:21 +02:00
pancake
eb1ad9ffe7 Do not draw ref lines of invalid branches ##disasm 2023-05-03 18:12:51 +02:00
pancake
00eb8a82bf Implement the -L command ##shell 2023-05-03 18:12:28 +02:00
pancake
b352ceb935 Fix infinite loop in the GNU C++ demangler ##crash 2023-05-02 22:09:44 +02:00
pancake
fc7dfac27c
Update SDB to the latest (#21683) 2023-05-02 21:58:17 +02:00
pancake
dbc1c7a789
Handle more noreturn functions ##analysis 2023-05-02 21:43:09 +02:00
Luc Tielen
23e18df22b Fix double free in elf loader ##bin 2023-05-02 20:35:18 +02:00
Luc Tielen
5ecc8ada5e Fix memory leak in mach0 relocs ##bin 2023-05-02 20:35:18 +02:00
Luc Tielen
b7863772df Fix memory leak in xtr fatmach0 metadata ##bin 2023-05-02 20:35:18 +02:00
Luc Tielen
0676848857 Fix memory leak in elf loader ##bin 2023-05-02 20:35:18 +02:00
Luc Tielen
e16996847e Fix UB when shifting value too far left ##esil 2023-05-02 17:48:04 +02:00
pancake
736d36263e Fix meson -Dnogpl=true compilation ##build 2023-05-02 16:48:13 +02:00
Luc Tielen
e678d3c073 Fix bounds checks for ESIL and reg values ##esil ##reg 2023-05-02 16:26:05 +02:00
pancake
95845b0c90 Add support for LE/BE 24 bit registers ##reg
* Required for STM8, UNIVAC and others
* https://en.wikipedia.org/wiki/24-bit_computing
2023-05-02 13:51:57 +02:00
pancake
791545c474 Fix 64bit column register listing glitch ##debug 2023-05-02 13:10:36 +02:00
pancake
b13b3548c7
Update to the latest wasi-sdk-20 ##build 2023-05-02 11:12:45 +02:00
pancake
235daf3799 Track recursivity calls in the HFS parser to prevent stack exhaution ##crash 2023-05-02 10:50:29 +02:00
Luc Tielen
6501345848 Migrate xcore plugin ##arch 2023-05-01 20:19:27 +02:00
Luc Tielen
96bc36135f Migrate m68k_cs plugin ##arch 2023-05-01 19:27:50 +02:00
Luc Tielen
c3684606e8 Fix compile warnings for elf loader ##bin 2023-05-01 18:54:52 +02:00
Luc Tielen
ce837063cb Improve handling of nindirectsyms for corrupt macho binaries ##bin
Simply changing `nindirectsyms` from `int` -> `ut32` did not help.
A value that was negative previously, would now try to allocate a very large
amount of memory. The previous change was reverted, and a check was
added to see if `nindirectsyms` is a positive number.
2023-05-01 18:54:52 +02:00
Luc Tielen
08d339acc2 Migrate 6502_cs plugin ##arch 2023-05-01 16:32:19 +02:00
Luc Tielen
4dd203c40d Migrate m68k_cs plugin ##arch 2023-05-01 15:27:37 +02:00
pancake
792767010c Fix oobread bug in asn1/pkcs7 parser ##crash 2023-04-30 07:45:51 +02:00
Luc Tielen
c1806fed41 Fix crash due to int overflow loading mach0 ##bin 2023-04-28 19:25:28 +02:00
Luc Tielen
65196c2616
Refactor / improve loading of ELF symbols + imports ##bin 2023-04-28 18:02:54 +02:00
Luc Tielen
25127266b9 Refactor global state in loongarch plugin ##arch 2023-04-28 15:28:22 +02:00
Luc Tielen
d9cb35b33b Migrate loongarch plugin ##arch 2023-04-28 15:28:22 +02:00
pancake
e3b2b951c6 Faster aap on large empty maps ##search
* A fuzzed bin for testing takes 1s instead of 15s
2023-04-27 15:13:33 +02:00
pancake
f1cfa98ae7
Few patches coming from the recursefails PR 2023-04-27 13:35:26 +02:00
pancake
954b8f236d Fix #21658 - Fix zoom mode glitch in panels ##visual 2023-04-27 12:10:41 +02:00
pancake
af6c84188a Fix R_SYS_ARCH name for native s390x ##build 2023-04-27 11:48:33 +02:00
pancake
e8dd6979e2 Improve r2docker for multiarch support 2023-04-27 11:43:18 +02:00
pancake
3026b2a061 Don't use esil.debug in tests because it doesnt exist 2023-04-27 10:19:51 +02:00
pancake
62006c0adf Move the memset to fix the dex regression 2023-04-26 21:37:09 +02:00
pancake
5599aaf196 Fix r2r build when doing static linking ##build
* That looks like a gcc bug, because clang is not affected
* Anyway, lets just workaround it this way
2023-04-26 20:04:10 +02:00
pancake
63ed3cd558 Fix uninitialized field accesses on corrupted DEX ##crash 2023-04-26 20:03:30 +02:00
pancake
27744e8d80 Fix UB with uninitialized read in dwarf parser ##crash 2023-04-26 20:00:57 +02:00
pancake
150b41e368 Fix two UB bugs doing left-shift on signed type ##dalvik 2023-04-26 19:46:58 +02:00
Leopold
3facbcd5c5
Fix wrong json key string (refs to name) in anal_axg ##json 2023-04-26 10:03:03 +02:00
pancake
76c970a9b6 Pick minor jmptbl patch reducing memrefs in arch checks 2023-04-26 08:41:43 +02:00
pancake
3c2c40897d
Move and update r2docker into dist/docker ##r2pm
* Update to Debian:11, add README for r2docker ##r2pm
* r2-docker is no longer installed. See r2pm -ci r2docker instead
2023-04-26 00:59:14 +02:00
pancake
c0c412b6fe Fix UB in signed type shift left on arm64 assembler ##asm 2023-04-25 21:23:58 +02:00
pancake
25d38bb99f Add test and fix oobread in the hfs parser ##fs 2023-04-25 20:06:28 +02:00
pancake
41a9cea596
Handle RArch.getRegProfile() from RAnal.setRegProfile ##arch 2023-04-25 19:00:48 +02:00
pancake
e9941bc6d1
Fix the wrong plugin used after failed arch.encoding ##arch
* Better fallback strategies
2023-04-25 18:59:23 +02:00
pancake
9fae879a0a Rename arch.arm plugin 'arch.arm.nz' ##arch 2023-04-25 14:28:41 +02:00