Commit Graph

17381 Commits

Author SHA1 Message Date
Dan Robertson
e980677887 r_bin_dwarf_expand_*: fix memory error (#12411)
The use of memset to set the rest of the newly realloc'd buffer in
various r_bin_dwarf_expand_* functions was overwriting portions of
the buffer that had previously been written to.

The functions including said error were the following:

 - r_bin_dwarf_expand_die
 - r_bin_dwarf_expand_cu
 - r_bin_dwarf_expand_abbrev_decl
 - r_bin_dwarf_expand_debug_abbrev
2018-12-06 15:12:47 +01:00
dav1901
3b03e923f5 Fix few clang-analyzer warnings (#12415) 2018-12-06 15:12:27 +01:00
dav1901
ab17935659 Fix clang warnings (#12413) 2018-12-05 12:35:37 +01:00
Vanellope
01614a9720 Cleaned up some macro ##panels (#12410) 2018-12-05 12:32:07 +01:00
David CARLIER
9e20fe9bbb Various mem leak fixes (#12400) 2018-12-04 17:23:09 +01:00
Vanellope
b6f2ebb20b Boolify caching param and fixed a bug of loading saved layout, plus added afvW and afvR in menu ##panels (#12401) 2018-12-04 16:09:54 +01:00
dav1901
cdaa507e15 Fix more clangs (#12399) 2018-12-04 16:09:18 +01:00
dav1901
3ca357b182 Fix few clang warnings (#12394) 2018-12-04 14:19:30 +01:00
radare
bbebd7ed86
Fix aaa issue in NSO bins which use io.cache (#12396) 2018-12-04 12:50:09 +01:00
pancake
5df3872b9d Boolify r_cons_yesno() 2018-12-04 12:49:43 +01:00
Vanellope
7653c2eda9 Creating a panel from the menu inquires the user for cache ##panels 2018-12-04 12:48:42 +01:00
dav1901
083810065c Fix few leaks in asn1 strings 2018-12-04 11:45:45 +01:00
radare
a3d181a8a0
Fixes spotted by clang-analyzer (#12391) 2018-12-04 10:45:46 +01:00
pancake
f08d8bedd5 Fix visual xrefs address 2018-12-04 10:45:15 +01:00
dav1901
2f0f89693f Minor fixes/cleanups (#12388) 2018-12-03 23:32:08 +01:00
pancake
9fff3e85ed Fix visual xrefs 2018-12-03 23:24:52 +01:00
radare
ebf02bb4be
Fix double-free in RBinClasses regression introduced in d6fd896a65 2018-12-03 22:52:00 +01:00
Vanellope
97acb1177b Some fixes in panels ##panels 2018-12-03 22:36:06 +01:00
pancake
51acf7295e Fix regression 2018-12-03 21:57:35 +01:00
lzutao
7ecf4f4ce7 Fix clang warnings (#12386)
Those are -Wformat, -Wincompatible-pointer-types, and -Wunused-variable.
2018-12-03 18:24:27 +01:00
pancake
d461281380 Fix regression 2018-12-03 17:48:28 +01:00
Khairul Azhar Kasmiran
2a0b909513 Fix Visual 'k' into basic block ##visual 2018-12-03 17:43:12 +01:00
pancake
2ebe4db8b8 Honor regsize to detect UB shift overflows in ARM64 code emulation ##anal 2018-12-03 16:40:24 +01:00
pancake
30c26ec104 Some more improvements for the visual xrefs (fix undo seek and more) 2018-12-03 16:36:26 +01:00
pancake
df90a3c462 Fix #12384 - Crash in fuzzed macho binary 2018-12-03 15:55:13 +01:00
pancake
df167c7db5 Fix #12376 - crash in: rasm2 -a arm -b 64 '0 ,0,0,0,0,0,0,' 2018-12-03 15:29:26 +01:00
pancake
a66d2556a0 Fix assert in aaa when entrypoint is wrong 2018-12-03 15:26:15 +01:00
pancake
b143e1b1b5 Release 3.1.1 2018-12-03 03:31:57 +01:00
radare
a1bc65c3db
Fix #12375 - Crash in bd+ao (#12382) 2018-12-03 02:54:37 +01:00
pancake
77e838e3d6 Improve error message in fcn_cc 2018-12-03 02:39:32 +01:00
radare
4db8e9189f
Implement pfq command (#12383) 2018-12-03 02:35:40 +01:00
radare
30f4c7b52a
Fix #12374 - oobread crash in truncated dyldcache ##bin (#12381) 2018-12-03 02:03:00 +01:00
radare
9b46d38dd3
Fix #12372 and #12373 - Crash in x86 assembler (#12380)
0 ,0,[bP-bL-bP-bL-bL-r-bL-bP-bL-bL-
mov ,0,[ax+Bx-ax+Bx-ax+ax+Bx-ax+Bx--
leA ,0,[bP-bL-bL-bP-bL-bP-bL-60@bL-
leA ,0,[bP-bL-r-bP-bL-bP-bL-60@bL-
mov ,0,[ax+Bx-ax+Bx-ax+ax+Bx-ax+Bx--
2018-12-03 01:46:58 +01:00
pancake
cd4d226059 Fix crash in gdb when desc is null 2018-12-03 01:30:00 +01:00
radare
769bb3b005
Fix #12333 - NSO not working and a bunch of UB in arm64 ESIL (#12379) 2018-12-03 01:19:59 +01:00
pancake
c28a9ed359 Add <>hl keys in Vx ##xrefs 2018-12-03 00:47:16 +01:00
pancake
c239f0e5d2 Fix #12359 - Vx<enter> does a seek history push 2018-12-03 00:46:51 +01:00
Vanellope
b858757136 Use 'e' and 'n' keys in panels to edit command in current panel or open new ##panels 2018-12-03 00:37:49 +01:00
David CARLIER
cb42aef929 Support NetBSD explicit_memset ##port 2018-12-03 00:32:39 +01:00
Khairul Azhar Kasmiran
d869a0c868 Fix #12330 - Disasm hints work even if asm.cmt.right=false ##disasm 2018-12-02 22:00:45 +01:00
BlaCoiso
9bbb2ac069 Fix #12284 - x86-16 far call follows wrong address 2018-12-02 21:59:51 +01:00
David CARLIER
2eb9413c2b DragonFlyBSD linkage fix ##build 2018-12-02 21:57:56 +01:00
Vanellope
23a0cfcddb Hud improved in panels ##panels (#12367) 2018-12-01 21:50:00 +01:00
David CARLIER
3dbde0800a Various mem leak fixes (#12361) 2018-12-01 16:44:55 +01:00
Khairul Azhar Kasmiran
3e66e7682f Refline generation ignores comments (#12362)
* Refline generation ignores comments
* Add and use r_meta_enumerate_at() instead, and make Travis green properly
* Add and use r_meta_find_any_except() instead
2018-12-01 16:44:29 +01:00
Vanellope
98ee1fed6c FcnInfo should be cached##panels (#12364) 2018-12-01 11:48:03 +01:00
Vanellope
4021b85a78 Fixed a performance issue##panels (#12363) 2018-11-30 15:33:16 +01:00
Riccardo Schirone
baf9305ea2 Warn fixes (#12360)
* Remove unused variable from __io_attach
* Avoid using empty string with snprintf, just set \0
2018-11-30 12:09:01 +01:00
Luca Di Bartolomeo
acbbfd80de Cut flags inbytes string if too long (#12356) 2018-11-30 10:44:16 +01:00
pancake
f95ca48fba Fix double free 2018-11-30 10:42:10 +01:00