Commit Graph

25632 Commits

Author SHA1 Message Date
pancake
73f220f22d Update doc/license for more clarifications ##build
* Orphaned shlr/arm/omap3430 script moved to extras
* Unified json format for r2 -Lj
* Update QNX io plugin to GPL until clarified with the author
2021-03-17 12:56:38 +01:00
pancake
50580d3e87 Move RCorePlugin from r_cmd.h to r_core.h 2021-03-17 11:50:09 +01:00
pancake
e80a66aeb7 Add json version output to r2 -vj ##json 2021-03-17 11:47:05 +01:00
pancake
15d47f9841 rasm2 -L now shows an array of objects ##json 2021-03-17 11:26:47 +01:00
pancake
d3f5bc2767 rasm2 -Lj works the same way as -jL ##shell 2021-03-17 11:19:31 +01:00
murphy
013d9123a3 Fix warnings and minor fixes due to code review 2021-03-17 11:16:51 +01:00
murphy
f0dfb0f3b3 Fix 1447031 Resource leak 2021-03-17 11:16:51 +01:00
murphy
d7f9449aaf Fix 1447034 Resource leak 2021-03-17 11:16:51 +01:00
murphy
222137d343 Fix 1447092 Structurally dead code 2021-03-17 11:16:51 +01:00
murphy
0dd1560a55 Fix 1447093 Resource leak 2021-03-17 11:16:51 +01:00
murphy
cc68482a43 Fix 1448201 Read from pointer after free 2021-03-17 11:16:51 +01:00
murphy
882b2bb8dc Fix 1448202 Out-of-bounds access 2021-03-17 11:16:51 +01:00
condret
3f96c6fda6 Implement r_rbtree_cont_node_prev (siol eternal) ##util 2021-03-16 17:42:38 +01:00
condret
a3e3b5af7c Implement r_rbtree_cont_last ##util 2021-03-16 17:42:38 +01:00
pancake
93b4f34b84
Fix ASAN crash when allocating more relocs than the filesize ##bin (#18482)
* Reproducer: r2 elf7
2021-03-16 12:49:48 +01:00
pancake
81be6c177c
Fix long time analyzing oob objc data ##bin (#18479)
* Fix long time analyzing oob objc data ##bin

* Reproducer: r2 -A hang_02.dms
2021-03-16 12:49:34 +01:00
pancake
08fe19ceb7 Fix asan crash found in r2_hoobr_dex_loadcode ##bin 2021-03-16 12:49:12 +01:00
condret
116997df03 Close #18257 / Remove RIODescData ##io 2021-03-16 01:22:16 +01:00
condret
827a8ac783 Enable io-plugins to set bin.baddr on launch ##io 2021-03-15 21:08:33 +01:00
pancake
6f2fd83b64 Early exit in r2pm -v to avoid double rainbows 2021-03-15 12:37:18 +01:00
pancake
639045efc5 Dont run debugger tests in ASAN mode and fix crash in snap.c 2021-03-15 12:26:09 +01:00
pancake
e3b5991774 Fix oobread bug in r_str_(ndup|nlen) APIs spotted by ASAN in SMD parser ##bin 2021-03-15 12:26:01 +01:00
Khairul Azhar Kasmiran
d248a2230a dcpu16/dis.c: Use snprintf/strncpy instead of sprintf/strcpy 2021-03-15 06:09:50 +01:00
Khairul Azhar Kasmiran
70bcbf9704 Show overlapped flags if requested and show them differently (#706) ##disasm
* Show overlapped flags if requested
* Don't print flag if going to be realigned on bb sooner or equal
* Show overlapped flags differently
* Color offset differently in overlapped flag comment
2021-03-15 06:09:39 +01:00
Paul I
1e8a80c553 Set free method for relocs on mdmp and coff 2021-03-15 06:09:21 +01:00
pancake
8da5a75def Fix asan oob in charset api 2021-03-15 06:07:56 +01:00
Khairul Azhar Kasmiran
12bdda5b5b Fix oobread ppc plugin ##anal 2021-03-15 05:54:25 +01:00
pancake
2675954477 Quickfix for regression 2021-03-15 05:33:31 +01:00
Paul I
9f91932eb1 Fix memleaks in agraph by keeping a separated list of dummy nodes ##visual 2021-03-15 04:21:08 +01:00
pancake
45caf760a6 Revert "dmi commands handle symbols, exports, main, entries too ##debug"
This reverts commit e82f3d7fcb.
2021-03-15 04:00:00 +01:00
Khairul Azhar Kasmiran
d1907f84d0 handleMidFlags: Reset ds->midflags on entry ##anal 2021-03-15 03:10:46 +01:00
Khairul Azhar Kasmiran
879e399f0d asm.flags.middle: Don't split bb instruction ##anal 2021-03-15 03:10:46 +01:00
pancake
4ef86f0c2b Fix null deref in r_str_ndup() 2021-03-15 02:24:16 +01:00
pancake
d15d321366 Remove unused variable 2021-03-15 02:24:16 +01:00
Khairul Azhar Kasmiran
1cec1e7419 Null deref, asm.tabs ovf and capstone3 fixes 2021-03-15 02:24:16 +01:00
pancake
894bc43ea9 Use more r_str_ncpy and improve it to not alloc beyond nullbyte ##api 2021-03-15 02:24:16 +01:00
pancake
c5e45f935d Fix minor memleak on fail for macho 2021-03-15 02:24:16 +01:00
Florian M"arkl
b24dfd8e63 Fix UAF in rz_bin_reset_strings() ##bin 2021-03-15 02:24:16 +01:00
pancake
14e4e84ee3 Fix oobread in dcu 2021-03-15 02:24:16 +01:00
Khairul Azhar Kasmiran
ded1bafab3 Fix some uninitialized and minor memleak issues 2021-03-15 02:24:16 +01:00
Paul I
902d12b5ec Free objects allocated by rz_syscall_get() 2021-03-15 02:24:16 +01:00
Khairul Azhar Kasmiran
621f90752b Fix overflow in dcpu16 and uninitialized warning in wasm 2021-03-15 02:24:16 +01:00
Khairul Azhar Kasmiran
637af6323f aae: Realign on fcn start if not in bb ##anal 2021-03-15 02:23:54 +01:00
pancake
7ff2673dd9
Random uninitialized variable uses fixups (#18453) 2021-03-15 02:23:39 +01:00
Basstorm
d1d4deb3c4 Fix duplicate vtable entries after 'aaa' ##anal
Co-authored-by: parallels <parallels@vmdevelop.lan>
2021-03-15 02:09:00 +01:00
pancake
6d47fa4336
af-*: Remove function flags too ##anal (#18466)
Co-authored-by: Khairul Azhar Kasmiran <kazarmy@gmail.com>
2021-03-15 02:02:15 +01:00
pancake
7337abaddf
Add r_vector_flush() ##api (#18465)
Co-authored-by: Florian M"arkl <info@florianmaerkl.de>
2021-03-15 01:57:10 +01:00
pancake
d1038c5301 Fix format string in table and minor type regression 2021-03-15 01:48:59 +01:00
wargio
8b1037a9a1 null argument issues 2021-03-15 01:48:59 +01:00
Alexis Ehret
f48729acd5 Random null deref and more size_t fixes 2021-03-15 01:48:59 +01:00