Commit Graph

30210 Commits

Author SHA1 Message Date
pancake
c8e62e19ba Add greepy color theme (green + pink + white) glitch-style ##cons 2023-04-18 15:52:15 +02:00
pancake
825cb98ebe Tiny check fixes in RCoreCmd() 2023-04-18 15:11:48 +02:00
pancake
5527376f36 Use RCore.cmdCall() and just replace pointers for -A 2023-04-18 10:20:58 +02:00
Luc Tielen
7ee8fb77a2 Refactor mach0 loading of relocs ##bin 2023-04-17 18:36:18 +02:00
pancake
86d77e2a54 Silent warning on empty dwarf blocks ##bin 2023-04-17 16:38:37 +02:00
pancake
35c7ab6f50 Unused var had a meaning in the xnu kernelcache parser ##bin 2023-04-17 13:42:00 +02:00
pancake
b56efb0ad3 Fix UAF in the dwarf parser ##crash 2023-04-17 13:41:28 +02:00
Ildar Sadykov
2874ef7125
Implement r_str_tok_r without breaking abi
* reduce the strtok usage
2023-04-17 00:52:31 +02:00
pancake
91f8fef027
Add build optimization and precondition check levels in -v ##shell 2023-04-14 17:59:32 +02:00
pancake
5135fe4600 Fix 1 byte oobread in the wasm disassembler ##arch 2023-04-14 15:48:45 +02:00
pancake
bb5adcdd20 Reuse RStr.version() from r2's '?V'/'-v' ##shell 2023-04-14 13:32:52 +02:00
pancake
0e6a470b25 Show '(asan)' in r2 -v when runnin sanitized builds ##shell 2023-04-14 13:32:52 +02:00
pancake
f585a3aa06
Fix non-null-terminated string in dwarf ##crash 2023-04-14 12:15:01 +02:00
pancake
db1d06da6b Migrate s390.cs and fix the abidiff suppression rules ##arch 2023-04-14 11:26:23 +02:00
pancake
721f818364 Fix null deref in the dyldcache ##crash 2023-04-14 11:02:03 +02:00
pancake
9e64f8c14c
Fix oobread in swift field parser ##crash 2023-04-14 10:54:31 +02:00
pancake
10415ea004 100ms faster large tables listings 2023-04-13 20:22:37 +02:00
pancake
a2465476be Fix 4 byte oobread in objc analysis on 32bit binaries ##crash 2023-04-13 19:50:56 +02:00
pancake
96282db512 Fix oobread in dwarf parser ##crash 2023-04-13 19:39:07 +02:00
Luc Tielen
3f153abffe
Refactor loading of mach0 sections ##bin 2023-04-13 18:20:09 +02:00
pancake
6741634429 Fix double free in debug traces 2023-04-13 16:42:13 +02:00
Luc Tielen
e943a97b26 Conditionally parse mach0 start symbols ##bin 2023-04-13 15:45:57 +02:00
Luc Tielen
81f596a4d9 Fix bug wrongly casting dyld/kernelcache to mach0 ##bin 2023-04-13 15:45:57 +02:00
Luc Tielen
1920cca725 Remove code, port dyld + kernel cache to new API ##bin 2023-04-13 15:45:57 +02:00
pancake
ce37e3e4b1 Fix UAF in the p9 parser ##bin 2023-04-13 14:44:10 +02:00
pancake
6ff7ee9dda Fix status register in the regprofile for darwin-arm64 ##debug 2023-04-13 11:52:36 +02:00
pancake
185eb5afe2 Fix oobread crash in the visual bit pixel editor ##crash 2023-04-13 11:50:01 +02:00
pancake
0b97bd37aa Another dwarf null deref ##crash 2023-04-13 11:05:05 +02:00
pancake
05ca1adf56 Code cleanup in visual.c 2023-04-13 10:56:19 +02:00
pancake
60f8492f2b Rename R_CONST to R_TAG and add unit tests for them ##api 2023-04-12 22:37:12 +02:00
pancake
eaea585b0d Fix asm.pseudo for arm64's stur instruction ##disasm 2023-04-12 21:41:27 +02:00
pancake
d31d72491b Migrate the ppc.gnu plugin ##arch 2023-04-12 21:05:09 +02:00
pancake
8978d445a3 Implement 128bit regstore esil emulation ##esil
* Add test case for the arm64 q0 register
2023-04-12 20:53:24 +02:00
pancake
9618cf91e4 Dont display the cpu flags if the arch doesn't support them ##debug
* This is done in visual thru the drcq command
* RISCV is one of those archs. Tested in real hardware
2023-04-12 19:51:42 +02:00
pancake
75ab029976 Implement 'uname -a' flag ##shell 2023-04-12 19:31:32 +02:00
pancake
29fad286b2 Adjust bpcount and use typedefs instead of structs in bps ##debug 2023-04-12 00:32:22 +00:00
pancake
9a43f62e53 Define RISCV breakpoint instructions ##debug 2023-04-12 00:27:43 +00:00
pancake
3456d0d16e Fix oobread in the xcoff64 parser ##crash 2023-04-12 18:07:13 +02:00
pancake
90dc5c64f7 Fix an 1byte oobread in the pyc plugin ##crash 2023-04-12 18:01:43 +02:00
Luc Tielen
06b6f85581 Migrate m68k_gnu plugin ##arch 2023-04-12 17:53:32 +02:00
pancake
fb4a0bdfdc Improve the riscv analysis ##arch
* Fix inconsistencies between disasm and opinfo
* Fixes emulation of calls and jumps
* Fix type confussion x=(addi 0, y/lea y/ mov y)
* Fix "li" as mov not as load
* Fix esil emulation for riscv's jr/li/mv ##arch
2023-04-12 17:52:59 +02:00
Luc Tielen
3e812278b5
Refactor loading of mach0 symbols ##bin
* Use RVector instead of handmade
* Replace sdb with ht for performance in mach0 parser
* Mark flacky test as broken
2023-04-12 16:51:30 +02:00
Luc Tielen
47d88743bd
Migrate S390 GNU plugin ##arch 2023-04-12 15:59:51 +02:00
pancake
e5a10638f7 Fix warnings on xattr io plugin on linux 2023-04-12 12:47:33 +02:00
pancake
277e0aa606 Fix #21559 - k&r syntax is deprecated for c2x compat reasons 2023-04-12 11:56:24 +02:00
pancake
21414a0dc8 Fix REG_SP redefinition on rv64 builds 2023-04-12 11:24:58 +02:00
pancake
77b091d618 Avoid large allocation in the elf parser ##crash 2023-04-12 11:06:21 +02:00
pancake
c2801306f3 Check for null pointers in uleb and dwarf ##crash 2023-04-12 11:06:21 +02:00
AlexanderKucherov
d5e8678c10
Fix #21576 - Function stack frame size in case of FP register in a Thumb's PUSH ##anal 2023-04-11 23:29:31 +02:00
Luc Tielen
494c21467b
Refactor loading of mach0 libraries ##bin
* Use less allocations in mach0 parser

Co-authored-by: Luc Tielen <ltielen@nowsecure.com>
Co-authored-by: pancake <pancake@nowsecure.com>
2023-04-11 23:19:04 +02:00