13558 Commits

Author SHA1 Message Date
Álvaro Felipe Melchor
840340b9e8 Update help for rabin2 -OC to get entitlements 2017-01-10 22:21:32 +01:00
Sven Steinbauer
87c992890c Fix spp issue #13 2017-01-10 13:57:12 +00:00
pancake
9619266d53 derp 2017-01-10 14:49:23 +01:00
pancake
5953145229 Fix #6474 - underflow index in visual hud prompt 2017-01-10 14:07:18 +01:00
pancake
de2ae8ca0f Add overflow check for r+ 2017-01-10 14:05:46 +01:00
Sven Steinbauer
4fe5d34b44 Add comment for r_asm_from_string 2017-01-10 12:27:09 +00:00
pancake
e23c173460 Use <> keys in visual to seek cursor to select ranges and move with precission 2017-01-10 01:47:15 +01:00
pancake
c645fc0aa4 Add afcc and use afc to sum cycles in a function 2017-01-10 01:30:48 +01:00
Sven Steinbauer
58252b4cc2 Fix #6356 - Move spp integration to libr/asm.c
* Make spp parsing optional
* Add -p arg to rasm2
2017-01-10 00:57:49 +01:00
nevun
d26a4cfd62 Make debugging work a bit better on OpenBSD: nudge get_base_from_maps() so it does not return 0 on OpenBSD just because the memory mapping does not contain the file name. (#6455)
Copied the fallback code from cmd_debug.c:r_debug_get_baddr().

getBaddrFromDebugger() from radare2.c also does the right thing. r_debug_get_baddr() probably should be exposed through the api so everyone can use one, maybe correct, version.
2017-01-10 00:55:38 +01:00
pancake
fef557bfdd Fix 'on' to make travis happy 2017-01-09 21:57:11 +01:00
pancake
9ae05e864f Mark AES as broken for non-clang/gcc because of the use of dynamic array arguments 2017-01-09 18:19:39 +01:00
pancake
5d4f4bcd11 Raise rbinobj with o [fd], add baddr to [o ma ba], new of command 2017-01-09 17:40:58 +01:00
pancake
2b296e5d2b Fix tcc build 2017-01-09 17:12:06 +01:00
pancake
3f164b2e48 Document ldid in rabin2 -O 2017-01-09 15:57:22 +01:00
ninjahacker
3fc1fbbf5f Fixed zero flag errors that went untracked in ESIL for arm 32 bit. (#6438) 2017-01-09 15:35:47 +01:00
pancake
66d60dcf8b Enable http.sandbox by default 2017-01-09 14:43:33 +01:00
pancake
1a81e775d8 Add rundiff script for testing radiff2 -u features 2017-01-09 14:11:43 +01:00
nevun
1e5a4f05ff Silence warning on OpenBSD by casting to caddr_t. (#6453)
Gets rid of this:

p/debug_native.c: In function 'bsd_reg_read':
p/debug_native.c:674: warning: passing argument 3 of 'ptrace' from incompatible pointer type
2017-01-09 13:47:24 +01:00
pancake
e3e19385e8 Fix #6415 - Properly disable sandbox after http.sandbox 2017-01-09 13:19:08 +01:00
pancake
ce5aab1cbf fl command now works with 1 argument too 2017-01-09 03:44:52 +01:00
Wladimir J. van der Laan
724994e566 Fix setting flag length with fl command (#6439)
The command `fl` was wrongly passing `str` instead of `arg` to the flag lookup.

This caused the flag lookup to miss, and `fl` to always fail (silently)
when changing the length of a flag.

This commit fixes that.
2017-01-09 03:38:55 +01:00
pancake
b5fa234124 Enhance the printable check used in radiff2 -u/U 2017-01-09 03:37:24 +01:00
pancake
a94551a775 Add radiff2 -q and add colors in -u 2017-01-09 03:26:07 +01:00
pancake
5ca1be956d Implement radiff2 -i, fix -z and add -u/-U
* Unified support using:
  - internal bindiffer
  - using system's diff program
* Compare list of imports or strings of given files
* Add proper apis to handle all this
* Automatic hexdump when comparing binary buffers (-U)
* Update documentation
2017-01-09 03:18:14 +01:00
pancake
529c578487 Fix rax2 Ox (octal output) 2017-01-09 00:46:32 +01:00
Khairul Azhar Kasmiran
dd34efe018 Allow multiple calls of cdb_init without leaking or failing (#6457) 2017-01-09 00:04:00 +01:00
Eugene
9c1ae16ed5 Fix #6445 - Add -z option for radiff2 to diff strings of binaries 2017-01-09 00:03:42 +01:00
Álvaro Felipe Melchor
42e9b5d398 Fix NUL dereference 2017-01-08 22:28:01 +01:00
Álvaro Felipe Melchor
fa44b90edb asm.emu independent of asm.comments 2017-01-08 18:04:13 +01:00
Álvaro Felipe Melchor
5253d857b0 handle thumb/arm with blx/bx when asm.emu=true 2017-01-08 17:28:01 +01:00
Álvaro Felipe Melchor
13d3f89bc8 Fix addr in thumb with blx/bx 2017-01-08 13:51:07 +01:00
Álvaro Felipe Melchor
0af72ec4b5 clean up arm_gnu code 2017-01-08 13:29:10 +01:00
Álvaro Felipe Melchor
5d8ae04972 Support in arm_cs to switch ins set with blx/bx 2017-01-08 13:18:40 +01:00
Álvaro Felipe Melchor
b8686ed58b Fix issue with thumb and arm
The range was not set up correctly when building the ranges bits
2017-01-08 12:57:09 +01:00
Álvaro Felipe Melchor
8c354cade7 Fix warnings when compiling 2017-01-08 12:27:28 +01:00
Eugene
7595aad0a4 Typo in -G flag (#6450) 2017-01-07 21:00:28 +01:00
pancake
c73a7ce7c1 Add USER_PLUGINS in r2 -H 2017-01-07 03:22:24 +01:00
Sven Steinbauer
583ca82dd9 ARM asm Fix #6436 (#6441)
Fix order of opcodes in comparison list to check against ands over and.
2017-01-07 01:45:10 +01:00
Eugene
748dace208 Update README for r2pm usage 2017-01-06 21:31:12 +01:00
Eugene
92c72bab99 Remove filename leak (#6442) 2017-01-06 17:49:46 +01:00
Guillaume Valadon
d24afa0d96 mips-32 calling convention typo fixed (#6440) 2017-01-06 11:57:36 +01:00
pancake
ec46f08995 Fix div by zero when loading PE with SectionAlignment = 0 2017-01-05 23:26:45 +01:00
Maijin
20aea08d0b Disable scr.tts by default
Disable scr.tts by default
2017-01-05 16:30:10 +01:00
Moritz Eckert
e295e98d82 Remove unnecessary dereference (#6433)
Fix CID 1368290:  Incorrect expression
2017-01-05 11:55:36 +01:00
pancake
c355d6ed5e Fix null deref in cbin->info 2017-01-05 10:57:50 +01:00
Eugene
4c7928b5cd Fix #6405 - Implement Rust Demangler
* Added rust demangling based on cxx-version
* Add rust support for rabin
2017-01-05 00:52:13 +01:00
pancake
6428a6f4dc Fix 32bit chop rnum issue for Windows 2017-01-05 00:25:45 +01:00
pancake
093f77f851 Fix pcA 2017-01-05 00:18:06 +01:00
pancake
55231915fa Implement pcA to show disasm comments in .S output 2017-01-05 00:11:57 +01:00