Commit Graph

12851 Commits

Author SHA1 Message Date
pancake
fc41044e93 Iterate over all DT_FLAGS, and update capstone 2017-06-27 18:16:37 +02:00
pancake
6a7e609cfb Handle DT_FLAGS -> DT_1_NOW as DT_BIND_NOW for proper relro detection on ELF 2017-06-27 17:59:48 +02:00
pancake
a89b3fbb90 Fix r2naked.h for Swift (extern "C" it's just a c++ism) 2017-06-27 17:59:25 +02:00
Marc
1c772a9672 Enhance icj, ic and id in Dex (#7821) 2017-06-27 17:02:14 +02:00
h4ng3r
5418e99fcf Fix some string formats for 32bits 2017-06-27 01:11:57 +02:00
SrimantaBarua
59a5c07d8f invalidate reg cache 2017-06-26 11:39:30 +02:00
SrimantaBarua
5938053422 gdb reg caching 2017-06-26 11:39:30 +02:00
SrimantaBarua
cb13de2c5b Corrections to attach pid 2017-06-26 11:39:30 +02:00
NighterMan
42836cb353 Fix for #7819: Properly trim \n on rarun2 envfile
Newline characters are not properly removed when reading env vars from envfile
of a rarun2 profile. Although tempted to to use `r_str_trim_tail`, manual
trimming is used instead in order to disrupt env vars as little as possible
for funky cases such as when including shellcodes, etc...
2017-06-26 08:35:43 +02:00
Adrian Studer
c1cb93aaf8 set ptr and val to correct values (#7817) 2017-06-25 17:03:25 +02:00
Lowly Worm
b5c0c01c6b fix the cov defect 2017-06-24 22:03:47 -07:00
Xiao Di Guan
6ae9d891db Fix xnu_wait stopping prematurely (#7744) (#7745)
* Fix xnu_wait stopping prematurely (#7744)
* Use task_swap_exception_ports (instead of *get* then *set*)
* Add new debugger stop reason for user-initiated breaks
* Stop the inferior when `dw` is interrupted (#7744)
* Stop the inferior after attaching
2017-06-24 17:57:11 -05:00
Lowly Worm
f0faf8bbea fix crash in oob pseudo (#7815) (#7816)
* fix crash in oob pseudo (#7815)

* syntax error

* fixup from pancake comments

* fencepost

* final fixups

* fix scoping error
2017-06-24 15:29:25 -07:00
SkUaTeR
266686278a msvc x64 version run ok (#7814)
* msvc x64 version run ok

* fix
2017-06-24 14:25:12 -05:00
pancake
a443fa3beb Fix null derefs and memleaks of ecH 2017-06-24 20:48:17 +02:00
pancake
4e6e19c07d Fix 6 overflows in r_str_highlight, needs proper refactor 2017-06-24 20:41:04 +02:00
pancake
87fe418092 Fix #7706 - Enhance the Java assembler 2017-06-24 19:58:48 +02:00
Adrian Studer
e1da08a4e8 8051 decode bit address (#7812)
* decode bit addresses
* fix op length for xrl a,r and anl a,r
2017-06-24 10:24:06 -05:00
Adrian Pistol
7c6a74cdad WIP Serial fix for io_gdb. (#7808)
At least it allows the serial rsocket backend to be called, but I can't quite connect to my BMP, so I am not 100% sure this works. Something else might have broken something.
2017-06-24 10:18:31 -05:00
Lowly Worm
1659874293 vee arrows shouldn't be the default, use normal 2017-06-22 22:57:39 -07:00
Lowly Worm
322a019f81 make config settings for splines same style as other graphviz options 2017-06-22 22:55:12 -07:00
Lowly Worm
692f0b2a64 allow splines to be configurable
splines still can't be reticulated..
2017-06-22 22:49:49 -07:00
Lowly Worm
b06bc596c2 formatting fixup in canal 2017-06-22 21:31:08 -07:00
SrimantaBarua
9651b6a997 Attach pid 2017-06-23 11:50:26 +08:00
Lowly Worm
e9c8a88beb radare2-pro theme for the graphviz 2017-06-22 19:01:25 -07:00
BlueC0re
59787b8ccf added v modifier to rapatch similar to wv (#7806)
usage:

0 v4 40000
4 v2 300
2017-06-22 20:29:10 -05:00
Rene Laemmert
5c39365c57 Fix #6858 (#7804)
aac was currently adding call-refs to the target of the found call. 
this should fix #6858
2017-06-22 09:13:39 -05:00
xarkes
4ce2368c4f Windows environment fix (buffer too small + handle return value) 2017-06-22 18:05:15 +08:00
xarkes
7cf3b79840 Fix r2 -nn on Windows 2017-06-21 11:27:02 -05:00
izhuer
590d855f78 Simplify rcc_mathop and fix a bug when operation starts with bit operation 2017-06-21 11:13:43 -05:00
Ren Kimura
0adb01dcb8 Fixed wrong logic of forward execution of dsb (#7798)
* Fixed wrong logic of forward execution of dsb

* Fixed typo
2017-06-21 07:52:14 -05:00
Adrian Studer
c49f668099 fix 8051 addr11 and mov dir,dir (#7793) 2017-06-21 06:38:09 -05:00
Sven Steinbauer
96c7fe5589 Fix 64bit lea instruction in nz (#7795)
FIX #7788
2017-06-21 06:33:16 -05:00
Lowly Worm
ab77303b32 add alt+backspace and modularize ^w to use unix_word_rubout (#7794)
* add alt+backspace and modularize ^w to use unix_word_rubout
2017-06-20 23:02:32 -07:00
Lowly Worm
f9b66ac8e1 fix memleak in sj 2017-06-20 22:00:44 -07:00
Lowly Worm
4a44f56cbc fix build 2017-06-20 20:50:57 -07:00
radare
0446e283ad Optimize RFlag.get_at, enhancing fd and honor flagspaces 2017-06-20 16:53:42 -05:00
Ayman Khamouma (ak42)
c3bb9e5edf Add command ecH for instruction highlighting support (#7741)
* only use Color_NOBGRESET when actually needed
2017-06-20 15:48:45 -05:00
radare
1d4499ebdc Detect utf32 (wide32) strings with rabin2 -z
* Detect utf32 (wide32) strings with rabin2 -z
* Make r_print_hexdump happy with NULL RPrint
* Adjust wide string starting address if its starts with fffe
* Fix regression on null bytes confusing utf32 strings detection
2017-06-20 13:55:42 -05:00
pancake
58b7dddc58 Implement /rc to check for call refs, optimized for arm64 2017-06-20 13:47:50 -05:00
pancake
0ddf174dc4 Detect utf32 (wide32) strings with rabin2 -z 2017-06-20 10:57:00 -05:00
Ren Kimura
32042123e2 Add plain checkpoint system (#7782) 2017-06-20 05:09:58 -05:00
pancake
350dd6d604 Don't use CC_LIB in debug plugins 2017-06-20 05:08:57 -05:00
xarkes
ca5a68ebb3 Adding files to meson + windows env refactor 2017-06-20 18:03:30 +08:00
ZHANG ZHUO
8e5f2154b2 fix an stupid bug when using r_str_newf 2017-06-20 16:15:18 +08:00
Srimanta Barua
891f1136f7 Fix Travis linker error (#7783) 2017-06-19 21:58:39 -07:00
Lowly Worm
d79f84fdd9 add sj (json seek history (fixes #7663) 2017-06-19 19:17:27 -07:00
Srimanta Barua
c5eb7ef058 Support for dm commands in gdb (#7770)
* Added reading of memory maps from /proc/pid/maps
* Don't enable extended mode by default, only do so when attaching to process. Otherwise can't quit gdbserver
* Better gdb file reading
2017-06-19 19:43:55 +02:00
Khairul Azhar Kasmiran
7349aa1e3f Don't put 'u' prefix for single-char strings (#7780) 2017-06-19 19:29:13 +02:00
masapastosa
912eb376d5 Fix asm.describe unaligned comments #7733 (#7772) 2017-06-19 19:00:53 +02:00