Commit Graph

23438 Commits

Author SHA1 Message Date
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
Sergi Àlvarez i Capilla
79b39bb54d Fix java oobread in id_000000,sig_06,sync_m1,src_000048 ##crash
* Reported by Cen Zhang via huntr.dev
2022-02-07 23:58:09 +01:00
Sergi Àlvarez i Capilla
4a8d97589b Fix panel focus glitch ##visual 2022-02-07 23:50:07 +01:00
pancake
1c8966bd1c
Fix disable-threads builds 2022-02-06 20:55:06 +01:00
pancake
8587412f07 Improve panels behaviour when analyzing the whole program ##visual 2022-02-02 23:51:30 +01:00
Nerijus Bendžiūnas
71d7bf2bcd Add RISC-V CSR related instruction descriptions 2022-02-02 17:38:02 +01:00
pancake
c20c9622b7 Improve cursor handling in panels 2022-02-02 02:21:13 +01:00
pancake
42b6d28d23 Autoset cache flag on whitelisted panels on create ##panels 2022-02-02 02:05:18 +01:00
pancake
6231e60585
Fix #18621 - Specify ABI version to be X.Y instead of X.Y.Z ##build
* Installation creates some more symlinks now
2022-02-01 20:03:26 +01:00
pancake
ec55fb405c Disable ESIL macros and add reproducer test ##esil 2022-02-01 19:59:56 +01:00
pancake
0b6a2afdda Rollback the macros for += and -= 2022-02-01 18:58:19 +01:00
meme
c083791711
Fix: Mark r_print_format globals as TLS ##util 2022-02-01 18:45:54 +01:00
pancake
fa02a271c3 Add helper function for pending macro handling ##esil 2022-02-01 18:44:53 +01:00
pancake
8729c7d3b1 Fix #19410 - Fix cursor mode regression ##panels 2022-02-01 18:21:00 +01:00
Sylvain Pelissier
b62714cb25
Improve EVM analysis and update tests ##esil 2022-02-01 17:01:59 +01:00
pancake
d70c360d0c scr.cursor is boolean, so use r_config_get_b instead 2022-02-01 14:56:02 +01:00
pancake
2bc1b45f37 Prefer for over while in panels menu code 2022-02-01 14:54:28 +01:00