Commit Graph

11305 Commits

Author SHA1 Message Date
Joshua J. Drake
79d57a4084 Don't override a user's cmd.prompt setting (#4933) 2016-05-18 10:01:39 +02:00
Jeffrey Crowell
1c69a920b6 rm free of iterator, fix leak 2016-05-17 23:44:14 -04:00
pancake
21bb0d8050 Fix Cs/Cz parameters parsing 2016-05-18 02:29:41 +02:00
Riccardo Schirone
bcf696ea14 core/cmd_meta: remove very old code that breaks metadata tests (#4935) 2016-05-18 01:26:12 +02:00
pancake
045faa6b10 Do not show xrefs in pds 2016-05-17 23:41:49 +02:00
pancake
ca73b22c02 Hint -A in -C for radiff2 2016-05-17 21:48:36 +02:00
pancake
f1a0a3eaab Fix black nodes problem with ag 2016-05-17 17:41:07 +02:00
aaSSfxxx
4362f17b1f Compute RIP-relative calls 2016-05-17 17:00:32 +02:00
pancake
f2ff8de7b9 Initialize proper fields of the RAnalOp.avr struct 2016-05-17 16:39:05 +02:00
Ahmed Mohamed Abd El-MAwgood
cd3ce9ab4e Fixing overflow in the string array 2016-05-17 14:44:52 +02:00
Riccardo Schirone
d102ed6732 core/visual: fix cmd_visual test case
Without this patch, if you run a visual command that involve the
cursor directly, the cursor will not be set.
2016-05-17 13:18:23 +02:00
Riccardo Schirone
5b92204c27 asm/arch/avr: do not print space if there are no operands 2016-05-17 13:18:23 +02:00
pancake
f11eac73a9 Fix calloc(0) in mach0 spotted by clang-analyzer 2016-05-17 12:23:39 +02:00
Riccardo Schirone
eb8e9aaad1 core/cmd_meta: it can build again 2016-05-17 11:17:29 +02:00
pancake
39947f0865 Fix #4912 - Add rarun2 option to specify timeout signal to be sent 2016-05-17 10:41:33 +02:00
pancake
2e06158c71 Handle -- in rarun2 2016-05-17 10:36:33 +02:00
Hamish Coleman
c80611e9bf Update anal_arc to more closely match the styleguide. (#4916)
Use the sys/indent.sh script and address most of the changes it suggests

* whitespace fixes
* change all the sex_nn stub functions to macros
2016-05-17 10:26:36 +02:00
@bezjaje
a254108be0 MIPS esil small fixes, this will unbreak esil/mips regressions (#4917)
+ fixed "sub" operands order
+ fixed "add" typo (was implemented using "-" instead of "+")
2016-05-17 10:25:38 +02:00
Anton Kochkov
c75b584c7e Fix CID 1355257 2016-05-17 10:15:51 +03:00
Anton Kochkov
f943afe94a Fix CID 1355259 2016-05-17 10:12:41 +03:00
pancake
34cd4f62b1 Fix pzF tests 2016-05-17 01:05:32 +02:00
pancake
8ffa7e2b62 Fix all p*0 tests 2016-05-17 00:37:47 +02:00
pancake
52b0b0141b Bring back the --true|false-- in pdr 2016-05-17 00:12:42 +02:00
pancake
d5b9dedd35 Update capstone 2016-05-16 23:55:45 +02:00
pancake
a59bd2fad6 Update r2pipe-js, retdec and fix swf build 2016-05-16 23:55:03 +02:00
pancake
479449b23b Fix r2pm retdec package to handle -i and -gi 2016-05-16 23:36:25 +02:00
pancake
c94145242f Fix #4739 - Do not run cmd.bp twice 2016-05-16 23:17:03 +02:00
pancake
2db1f73583 Fix #4836 - bb0 size issue 2016-05-16 23:07:29 +02:00
Álvaro Felipe Melchor
f6a0cfbcb9 fix pxw endian issue 2016-05-16 23:05:06 +02:00
dequis
5d6c3ac947 libr/util/sys.c: Wrap the other backtrace() call with an #ifdef
I accidentally broke musl builds with that workaround.
2016-05-16 21:52:05 +02:00
Hamish Coleman
5f40ac8ad6 Implement jump delay analysis (#4901)
* Add archinfo details
* Add register profile details
* Show jump delay analysis - allows writing regression tests

* Fix decoded size of four-byte NOP
* Fix bugs found writing regresion tests:
** Jumps are not relative
** cut-and-paste error with some calls

* mark an illegal load destination
* Remove special case for the ignored aa field in load
* Factor mode_zz handing into its own function
2016-05-16 21:48:52 +02:00
pancake
28f64c83b9 Fix #4897 - Rename /# into /h 2016-05-16 21:48:22 +02:00
Joshua J. Drake
fed2998627 Fix "pxrj" output (#4908) 2016-05-16 21:07:05 +02:00
Anton Kochkov
49912c0226 Do not use backtrace if it's not available 2016-05-16 12:42:49 +03:00
pancake
50a46a954f Sort bbs by offset in pdr and drop the noisy true/false 2016-05-16 04:39:58 +02:00
Sushant Dinesh
8ffca4d175 Adds ESIL for x86: CMOVcc instructions (#4884) 2016-05-16 04:07:23 +02:00
dx
cbac4c38e1 libr/util/sys.c: Avoid malloc() calls in the signal handler (#4896)
Using functions like malloc() in async signal handlers is unsafe, and
may result in deadlocks.

Turns out that backtrace() is not safe either because its initialization
code uses dlopen() and malloc() and others, but this can be workarounded
by calling it once outside of a signal handler.
2016-05-16 04:06:59 +02:00
pancake
9cb987c091 Enhance afl output with color and fcnsize vs fcnrange hints 2016-05-16 04:06:45 +02:00
pancake
c627fb3bec Add colors in afll and fix max stack 2016-05-16 03:46:23 +02:00
pancake
dad8b434c4 Show real function size by default in afl 2016-05-16 03:06:39 +02:00
pancake
f3e6f386bf Fix RCons.less first line not shown 2016-05-16 02:59:42 +02:00
pancake
5239a8c599 Fix #4789 #4621 #4598 - implement afll : a verboser function list 2016-05-16 02:56:48 +02:00
pankajkataria
9a6c6e9e60 Updated-afl 2016-05-16 02:15:28 +02:00
pancake
d9cdd29268 Fix endian issue in crc16 and crc32 2016-05-16 02:08:59 +02:00
pancake
5683e45cb2 Move hash commands from # to ph 2016-05-16 02:08:55 +02:00
Álvaro Felipe Melchor
6b827c1563 Fix #4796 - Add dbm aka module relative breakpoints 2016-05-16 01:00:11 +02:00
pancake
a2fb171a37 Add R2PM_WWWROOT, update www-t and add http.homeroot r2 var 2016-05-16 00:59:29 +02:00
pancake
411cad06e2 Update r2pm manpage and fix #4843 2016-05-15 23:54:47 +02:00
pancake
df2ce5cdcf Initial support for r2pm -gi and -go, export HOME_PKG_CONFIG_PATH and R2VERSION 2016-05-15 23:43:15 +02:00
Álvaro Felipe Melchor
6ea6301846 fix indentation mach-o/loader.h 2016-05-15 23:41:39 +02:00