Commit Graph

23454 Commits

Author SHA1 Message Date
Lazula
3de3c43ec6 Free color in r_cons_pal_init() 2022-02-18 14:23:30 +01:00
pancake
c84b723262 Fix heap buffer overflow in dyldcache parser ##crash
* Reported by: Lazymio via huntr.dev
* Reproducer: dyldovf
2022-02-18 12:45:44 +01:00
pancake
b550b267a3
Fix slow loading times for small ELF sample ##bin 2022-02-18 12:38:46 +01:00
Dennis Goodlett
eccee9beb7
Add agfm command to print cfg graphs using mermaid syntax ##analysis 2022-02-18 12:31:32 +01:00
aemmitt
f59b7dfb56 fix the arm64 sdiv and udiv instrs on div by 0 2022-02-18 08:11:49 +01:00
pancake
33ce7e78a2 Add initial support for katakana ##charset
* Support multibyte charsets
2022-02-16 10:58:45 +01:00
Sergi Àlvarez i Capilla
99a3887e6a Add rasm2 and rax2 wasi/wapm packages ##build
* wapm install pancake/r2
  $ wapm run r2 -
* wapm install pancake/rax2
  $ wapm run rax2 1+1
* wapm install pancake/rasm2
  $ wapm run rasm2 -a x86 -b 32 -d 90
2022-02-16 10:58:03 +01:00
Sergi Àlvarez i Capilla
4a11460c9d Build fixes for wasi/wapm/wasm and update sdb ##build 2022-02-16 10:58:03 +01:00
Sergi Àlvarez i Capilla
90d4b07757 Fix sorting of cr16 conditional bits 2022-02-15 13:31:51 +01:00
pancake
3345147916
Properly fix the UAF in r_io_bank_map_add_top ##crash
* Associated with the CVE-2022-0559
* Reported by alkyne Choi via huntr.dev
2022-02-15 12:46:20 +01:00
pancake
a88843e989
Early break when parsing corrupted DEXs to avoid DoS ##crash
* Reported by Google clusterfuzz
* Reproducer: clusterfuzz-testcase-minimized-ia_fuzz-5227091270959104
2022-02-15 12:35:34 +01:00
Sergi Àlvarez i Capilla
46a69a5014 Fix all the latest covs which spotted new findings 2022-02-15 12:05:50 +01:00
Sergi Àlvarez i Capilla
e13fb7d183 Support building with system-provided lz4 library ##build 2022-02-15 11:43:50 +01:00
Sergi Àlvarez i Capilla
91740c46d2 Fix oobread in pxj ##crash
* Reproducer: db/cmd/cmd_print
* Proper refactoring and cleanup+testing on the works
2022-02-15 11:13:07 +01:00
Angel Diaz
aa849b682b Fix io/r_ptrace types definitions for FreeBSD (radareorg#19687) 2022-02-14 16:53:33 +01:00
Sergi Àlvarez i Capilla
ea6e426e76 Fix redefined macro warning in plan9 plugin 2022-02-14 16:39:36 +01:00
Florian M
5a7ffe4c0a Add ELF reloc patching for R_386_32 and R_386_PC32 ##bin 2022-02-14 03:16:49 +01:00
Anton Kochkov
62d6d226ff Fix cmn, teq and tst in arm32 assembler ##asm 2022-02-14 02:00:05 +01:00
pancake
dd25b01275
Fix 'disable mouse' ansi code ##cons
Co-authored-by: Segev Finer <segev208@gmail.com>
2022-02-14 01:55:27 +01:00
Sergi Àlvarez i Capilla
ed76d94144 Fix more harmless asan oobreads in pdu and fc 2022-02-14 01:50:24 +01:00
wargio
dc7c60b1bb Handle SH, MIPS and ARM in COFF binaries ##bin 2022-02-14 00:57:27 +01:00
Sergi Àlvarez i Capilla
2e99650c15 New 'w+' command, to write a string and seek at the end ##shell 2022-02-13 23:57:24 +01:00
Sergi Àlvarez i Capilla
4145077fb9 Fix ihex:// io parser somehow not working ##io 2022-02-13 23:57:13 +01:00
Sergi Àlvarez i Capilla
83e23ac9af Fix ghosty allocation 2022-02-13 23:51:05 +01:00
pancake
b5cb90b28e Prefer memleak over usaf in io.bank's rbtree bug ##crash
* That's a workaround, proper fix will come later
* Reproducer: bins/fuzzed/iobank-crash
* Reported by Akyne Choi via huntr.dev
2022-02-13 22:34:24 +01:00
Dennis Goodlett
d843f078a0 Prevent leak when jumptable has size hint 2022-02-13 22:28:51 +01:00
Sergi Àlvarez i Capilla
a4af656774 Support local charset file loading and fix echo issue in sdb ##charset 2022-02-12 23:04:42 +01:00
nemarci
47b2acb349
Fix pop [rsp] esil for x86 ##esil
* Fix order of operations in the ESIL code of pop with memory operand
* Added test for "pop [rsp]" emulation
2022-02-12 20:49:34 +01:00
Sergi Àlvarez i Capilla
f248f2f22f Fix last 2 covs in panels/canvas (dead code elimination) 2022-02-12 12:22:47 +01:00
Sergi Àlvarez i Capilla
88e8fdfbd3 Fix assert when dbg.exe.path is "" 2022-02-12 12:19:55 +01:00
pancake
8ddec017c8 Cleanup varnames in PE and MDMP plugins 2022-02-12 01:19:15 +01:00
Sergi Àlvarez i Capilla
36f161f207 Fix #19617 - Use PJ in dij ##json 2022-02-11 23:18:54 +01:00
pancake
85b9343d28
Minor rgb.parse optimization and remove the use of sscanf in pal.c ##cons 2022-02-11 22:37:23 +01:00
Sergi Àlvarez i Capilla
0f09a7cba5 Fix DoS in MACHO parser spotted by clusterfuzz ##crash
* Reproducer: iafuzz-forever
2022-02-11 20:54:13 +01:00
pancake
5c2c9bf86d Use rgb:RGB instead of rgb:RRGGBB in the bluy theme 2022-02-11 11:20:30 +01:00
pancake
8ddc8844bd
Fix pxj-X, and add tests ##print 2022-02-11 02:29:16 +01:00
Sergi Àlvarez i Capilla
d69b3d11b6 Initial import of the XALZ bin plugin ##bin
* Add tests for the XALZ file format
2022-02-10 19:59:17 +01:00
Sergi Àlvarez i Capilla
a61dce25a6 Minor cleanup in bin/sdb logic 2022-02-10 19:59:17 +01:00
Sergi Àlvarez i Capilla
77b7926a50 Add prgl command to decompress current block using lz4 ##print 2022-02-10 19:59:17 +01:00
Sergi Àlvarez i Capilla
08bf7bc8c7 New r_inflate_lz4 API to reuse LZ4 across all libs ##api 2022-02-10 19:59:17 +01:00
Anderson
a6309160f4
Fix Negative Offset in Hexdump Json Output ##print 2022-02-10 18:27:46 +01:00
Sergi Àlvarez i Capilla
4d75eeb99a Fix visibility issue in the bluy theme ##cons 2022-02-09 11:59:45 +01:00
pancake
3d438c510e Fix parsing of 'ra?' and 'r0x' subcommands ##shell 2022-02-09 05:50:22 +01:00
Sergi Àlvarez i Capilla
11eb7cb350 Fix redefine warning 2022-02-08 20:53:45 +01:00
Sergi Àlvarez i Capilla
837953a1a2 Fix DoS when loading a fuzzed DEX file ##crash
* Reported by clusterfuzz
* Reproducer: bins/fuzzed/clusterfuzz-issue-44410-infloop-sample-5101731329998848
2022-02-08 14:54:24 +01:00
Sergi Àlvarez i Capilla
8db3966da5 Fix overlapping titles on small frames ##panels 2022-02-08 01:37:16 +01:00
Sergi Àlvarez i Capilla
0b726c6806 Close menu when a different decompiler is selected ##panels 2022-02-08 00:55:31 +01:00
Sergi Àlvarez i Capilla
35482cb760 Fix UAF in pyc parser ##crash
* Reported by Cen Zhang via huntr.dev
* Reproducer: bins/fuzzed/harep2.pyc
2022-02-08 00:55:09 +01:00
Sergi Àlvarez i Capilla
d17a7bdf16 Fix negative index in anal.arm64.cs ##crash
* Reported by Cen Zhang via huntr.dev
2022-02-07 23:58:09 +01:00
Sergi Àlvarez i Capilla
8525ad0b9f Fix bins/*/rep8 - UAF crash in pyc parser ##crash
* Reported by Cen Zhang via huntr.dev
2022-02-07 23:58:09 +01:00