19704 Commits

Author SHA1 Message Date
F3real
70afbcc36e Fix leaks in cbin and cmd 2018-10-16 02:19:40 +02:00
pancake
2e68dccde2 Improve autogen.sh to use r2pm if available 2018-10-16 00:28:51 +02:00
pancake
dc96db9e51 Try clang-format when no uncrustify is found and reindent r_reg with sys/indent.sh 2018-10-16 00:17:44 +02:00
pancake
ec875e8e15 Delete dead code 2018-10-16 00:17:44 +02:00
pancake
4205cdabee Fix memory leaks in RReg 2018-10-16 00:17:44 +02:00
pancake
5a0ca70d7e Fix a null assert in java parser and bring back the libr.pc.acr 2018-10-15 22:14:54 +02:00
Maijin
4440d9fe09 Fix wrong r2 emulate ARM (#11779)
* Fix ARM Carry flag in CMP

- it’s the opposite of borrow, from the docs: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0801a/CIADCDHH.html
2018-10-15 21:48:00 +02:00
pancake
a242f56f76 Fix static build 2018-10-15 21:43:37 +02:00
pancake
2142a8a992 Fix build 2018-10-15 20:48:24 +02:00
pancake
de525b09d8 Add missing r_hash dependency for rafind2 2018-10-15 20:47:41 +02:00
radare
0e6b1a3c8a
Fix #11807 - Fix segfault in idpi (#11823) 2018-10-15 19:38:21 +02:00
radare
c8356abb03
Add zign hash using sha256 (#11822) 2018-10-15 19:13:18 +02:00
rfc2119
dca5c9e3d7 Fix asm.describe=1 when asm.cmt.right=0 (#11803) 2018-10-15 16:52:14 +02:00
Riccardo Schirone
6c462b3ecc rafind2: avoid memleaks (#11817) 2018-10-15 16:18:51 +02:00
radare
4f81a35adb
Improve and update help message for the $F variables (#11819)
* Improve and update help message for the $F variables

* oops
2018-10-15 16:18:21 +02:00
pancake
e2dbd79f02 Fix warnings about unimplemented functions in io_debug 2018-10-15 15:29:31 +02:00
radare
e2f1fe1da6
Fix build for GNU/Hurd by removing the PATH_MAX usage (#11816) 2018-10-15 15:17:42 +02:00
Luca Di Bartolomeo
3bf4288577 Print marks on flags if asm.offset=false (#11773) 2018-10-15 13:48:59 +02:00
radare
24ff3e276e
Avoid hardcoding prefix in global.mk (#11813) 2018-10-15 00:54:03 +02:00
Guillaume Valadon
5783dd3980 -Wstrict-prototypes warnings fixed (#11812) 2018-10-14 12:56:27 +02:00
Riccardo Schirone
4061f2fbb3 syscall: do not reload sdb database if nothing changes (#11801) 2018-10-14 12:56:15 +02:00
Khairul Azhar Kasmiran
de0301b9ae disasm.c: Realign after sparse to start of basic block if needed (#11810) 2018-10-14 17:39:46 +08:00
Stefan Ilic
a061c504cf Fix leak in cfile (#11809) 2018-10-14 17:37:45 +08:00
Asher Baker
33dab09e20 Support PDB ages higher than 15 (#11805)
`GUIDSTR_LEN` is currently set to 34, which gives 32 characters for the PDB GUID, 1 character for the PDB age (which is tacked on the end), and the null terminator. However, PDB ages are stored as a uint32, and can thus have a maximum value of `0xFFFFFFFF`, which requires up to 8 characters. PDB ages over 15 can easily be reached by automatic build processes using incremental linking.
2018-10-13 18:07:57 +02:00
pancake
c4795fc766 Update SDB to fix last covs 2018-10-13 13:25:36 +02:00
pancake
b66374d937 Fix uninitialized use of variable in visual panels 2018-10-13 13:24:13 +02:00
Khairul Azhar Kasmiran
84d7142131 disasm.c: Add ds_comment_start/middle/end + use case (#11802)
* disasm.c: Add ds_comment_start/middle/end + use case
* For backwards compatibility
2018-10-13 01:40:35 +02:00
Riccardo Schirone
8153422add gcc8 warnings (fixes #10338) (#11798)
* bin/format/pe: fix gcc8 warnings
* bin/p: fix gcc8 warnings
* io/io_r2pipe: fix gcc8 warnings and style
* clang-format: do not sort includes, it may break stuff
* use sizeof instead of macros
2018-10-13 01:32:20 +02:00
Florian Märkl
daddf534e3 Fix #11799 - Fix ptrace warnings (#11800) 2018-10-12 18:15:46 +02:00
pancake
3ccc90d4de Aim to fix googlefuzz static build failure 2018-10-12 15:52:57 +02:00
pancake
ca2611b6b9 Fix last covs 2018-10-12 12:26:33 +02:00
Florian Märkl
0c0fee7b48 ptrace-wrap (#11723)
* Add ptrace-wrap
* Add r_io_ptrace* and r_debug_ptrace()
* Use wrappers instead of calling ptrace and fork directly
* Sleep while waiting in linux_debug
* Add ptrace-wrap Makefile
* Link io against ptrace-wrap with acr
* Define ptrace usages in r_userconf.h
* Conditional ptrace-wrap in acr
* Fix HAVE_PTRACE
* Some fixes for Solaris
* Fixes for FreeBSD
* More fixes for Solaris
* Style Fix
2018-10-12 12:20:18 +02:00
Florian Märkl
1293fb792f Fix tj (#11797) 2018-10-12 12:18:38 +02:00
bannsec
e56d3de4ab Fix memleaks in ragg2 (#11788) 2018-10-12 12:18:22 +02:00
Riccardo Schirone
d6aab51c2b WIP: gcc8 warnings (#11795)
* arch/ebc: fix style and remove gcc8 warnings
* parse/parse_ppc_pseudo: fix gcc8 warnings
* parse/parse_mips_pseudo: fix gcc8 warnings
* anal/esil: fix strncat usage
* shlr/tcc: fix snprintf usage
* parse/parse_dalvik_pseudo: fix sprintf -> snprintf
* lang/vala: fix gcc8 warnings
* core/vmenus: fix snprintf usage
2018-10-12 12:17:29 +02:00
Florian Märkl
1dad5dfd1c Fix #11794 - Fix escaping realname in axtj 2018-10-12 11:50:46 +02:00
David CARLIER
7995271176 Fix few code paths. (#11792) 2018-10-12 00:10:07 +02:00
Khairul Azhar Kasmiran
0aa09a07ec
RParse.relsub_addr: int -> ut64 (#11791) 2018-10-11 21:51:13 +08:00
Florian Märkl
b37e0ffa42 Fix #11785 - oc hang (#11790) 2018-10-11 20:00:59 +08:00
pancake
22cd188423 Fix crashes in nN, w, add space and other stuff for visual panels 2018-10-11 13:01:20 +02:00
Riccardo Schirone
dafe24fc5e anal: we cannot iterate over data and modify them arbitrarily 2018-10-11 09:53:22 +02:00
Riccardo Schirone
c19023834e core/cmd_type: use sdb API sdb_foreach_list_filter 2018-10-11 09:53:22 +02:00
Riccardo Schirone
6fc262b3c1 asm/asm: fix ht DupValue function signature 2018-10-11 09:53:22 +02:00
Riccardo Schirone
eb57550978 core/cbin: fix uses of ht_* api 2018-10-11 09:53:22 +02:00
Riccardo Schirone
8b020619c8 sync sdb
sdb sync: add sdb_foreach_list_filter API
2018-10-11 09:53:22 +02:00
Riccardo Schirone
8f376b10cc
cmd_type: refactoring code to print type structs/enums/etc. (#11782)
cmd_type: refactoring code to print type structs/enums/etc.
2018-10-11 01:30:24 +02:00
bannsec
4b69a0c0c7 Fix memleak in RBin (#11775) 2018-10-11 01:06:07 +02:00
David CARLIER
79fa245d7d Support of Apple/LLVM blocks extension (#11787)
Apple toolchain and LLVM provides closure extension for C/C++,
using as possible the most reliable identifier rather than
functions owners where names can appear too generics.
2018-10-11 00:36:44 +02:00
Khairul Azhar Kasmiran
c7a9ab9d74 Fix arm relsub when both pointer addr and pointed-to addr have flags (#11780)
* Fix arm relsub when both pointer addr and pointed-to addr have flags
* Add comment stating extra implication
* Print flag if exists, otherwise address but not both
2018-10-11 01:17:48 +08:00
xtrm0
1810e6e6e1 Fix problems in x86 ESIL related to strtok (#11758) 2018-10-10 12:23:01 +08:00