Commit Graph

19015 Commits

Author SHA1 Message Date
Khairul Azhar Kasmiran
d48e036357 Fix #10987 - Drop bracket requirement for LEA if constant operand (#11050) 2018-08-12 12:37:43 +02:00
vane11ope
762e3d0f92 fixed a stupid bug 2018-08-12 11:48:10 +02:00
vane11ope
ce783e6a9f resize functionality implemented 2018-08-12 11:48:10 +02:00
Itay Cohen
bbe7d78138 Make graph.offset independent on asm.offset 2018-08-12 11:47:33 +02:00
pancake
6523803c60 Move /s into /as 2018-08-12 04:21:50 +02:00
pancake
c0b50e97cf Improve syscall search with static analysis instead of emulation 2018-08-12 04:14:09 +02:00
pancake
51ffc052d2 fs searches -> search 2018-08-12 04:12:18 +02:00
pancake
7c23a94339 Use strbuf in panels and make o always available 2018-08-12 03:55:13 +02:00
pancake
a36fae2b29 Implement pd-- for context disasm 2018-08-12 03:27:09 +02:00
pancake
960b0fc211 Initial cleanup of the rbin api 2018-08-12 03:02:05 +02:00
pancake
1fb81e5049 Implement esil cmds for invalid and unaligned trap exceptions 2018-08-12 03:01:46 +02:00
pancake
6c2d4ecc8e Fix #11021 - Fail when trying to use invalid register with XOR on x86 2018-08-12 00:27:24 +02:00
Andry
d8773a0b98 replace sdb_count with sdb_isempty 2018-08-11 23:24:56 +02:00
Andry
dfc4734103 sdb update 2018-08-11 23:24:56 +02:00
ITAYC0HEN
25fd5bef66 Honor asm.graph=false in json as well 2018-08-11 23:24:26 +02:00
pancake
4713c7f683 Fix crash in DEX found by Google's clusterfuzz (oobread with asan) 2018-08-11 23:22:48 +02:00
pancake
1262027b72 Fix #11018 - Add missing C types in C* 2018-08-11 23:22:27 +02:00
pancake
a61d80ff9f Fix last coverities and the use of r_str_cmp as list comparator
* Fix avra test and avoid long time loading trash data in avra
2018-08-11 20:59:28 +02:00
pancake
042f5271ba Bring back the old -w that implies R_IO_CREAT 2018-08-11 20:44:28 +02:00
pancake
d55bb122f3 Kill r_io_creat and make it into R_IO_CREAT, honor -ww 2018-08-11 20:44:28 +02:00
pancake
456de668b7 Fix #10947 - open without va when creating a new file 2018-08-11 20:44:28 +02:00
pancake
51b2c227d9 Add r_sys_breakpoint() macro 2018-08-11 20:12:51 +02:00
Itay Cohen
177fde65d9 Remove extra tabs when there's no offsets 2018-08-11 18:45:20 +02:00
Michael Zhang
8e0af8e9c8 Add switch_op output to "afbj" (#11022) 2018-08-11 18:39:35 +02:00
radare
68eb5173ba
Better asm.pseudo for arm64 (#11030) 2018-08-11 18:08:21 +02:00
Florian Märkl
ad42d0ed7f Sleep in r_core_rtr_cmds() (#11025) 2018-08-11 17:24:19 +02:00
radare
2487fa20a4
Unify /A into /a and move ?O into aom (#11019)
* Many fixes related to the argument parsing and help messages
2018-08-11 16:39:18 +02:00
Florian Märkl
cc3c87532a
Break all tasks on exit (#11026)
* Break all tasks on exit

* null check in r_cons_context_break()
2018-08-11 16:23:27 +02:00
Khairul Azhar Kasmiran
e08900b9bd
Add baddr to iI (#11017)
* Add baddr to iI

* Revert num of args for pair()
2018-08-11 17:54:39 +08:00
Carles Pey
46d6762262 Quick fix to prevent afta messing up with the debugger (#11023) 2018-08-11 01:54:07 +02:00
sivaramaaa
0fad500788
Rename and retype arguments as argc and argv in main function (#10994)
* Rename and retype argumets as argc and argv in main function

* Generalize argument renaming

* Propgate type to register based var from it's counter part
2018-08-10 23:45:52 +05:30
Dmitriy Somov
054351b223 Fix #7011 - Removed unused clean.sh, full-uninstall.sh, uninstall.sh, changed purge.sh (#10938)
* Deleted clean.sh, full-uninstall.sh
* Removed uninstall.sh, running make uninstall should be enough
* Changed Makefile and purge.sh, now users should only use ,ake purge or make system-purge, as listed in README
* Reduced 'distclean mrproper rmd clean' options to simple 'clean' in Makefile
2018-08-10 16:06:41 +02:00
Dmitriy Somov
745c81faa1 Multiple arguments support for db, db-, dbw, removed dbwC (undocumented and duplicate of dbC) (#11013) 2018-08-10 21:46:30 +08:00
Khairul Kasmiran
8c0a1505c1 Some param & local renaming 2018-08-10 21:41:10 +08:00
Rene Laemmert
b2aa8d1804 Fix highlighting (#11016) 2018-08-10 15:24:24 +02:00
radare
e434a5938b
Fix so command on ARM64 (honor mininstrsize and fix so-X where X > 1) (#11006) 2018-08-10 11:41:47 +02:00
Riccardo Schirone
4b2e1359ab
shlr/meson: use source path to store capstone directory (#10993)
* shlr/meson: use an option to chose whether to use builddir or not
2018-08-10 10:31:17 +02:00
Riccardo Schirone
54176f1bbc
Openssl meson (#10909)
* meson: allow to build with openssl
* use MD4 from openssl
* meson: use MD5 from openssl too
* meson: use SHA* functions from ssl library
* libr/hash: fix makefile when using openssl
2018-08-10 10:17:48 +02:00
Abdullah Obaied
90cacfdcde Remove redundant yank (#10997)
* Remove redundant yank

* Remove deprecated messaged

* Remove ?y help entry

* Remove ?y case
2018-08-10 09:04:25 +02:00
Emmanuel Vadot
a13f436f36 Fix build on FreeBSD aarch64 (#11010)
Note that while this is debugger related this only fix the build
and not fix debugging on FreeBSD aarch64 as ptrace_set_pc is currently
not implemented on this arch.

Signed-off-by: Emmanuel Vadot <manu@freebsd.org>
2018-08-10 00:43:49 +02:00
radare
915917e73b
Fix clusterfuzz-9776 - 4byte oobread in ELF (#11009) 2018-08-10 00:41:45 +02:00
pancake
15f4a939a0 Revert "Simplify length handling of p commands (#10955)"
This reverts commit 6e8373c392.
2018-08-10 00:40:46 +02:00
David CARLIER
b87ae5401e fix dump_strings signature (#11008) 2018-08-09 21:17:43 +02:00
Fangrui Song
6e8373c392 Simplify length handling of p commands (#10955)
This also makes `x 2 @x:90` (len > temp blocksize) honor the temporary block.
2018-08-09 18:04:51 +02:00
Khairul Azhar Kasmiran
3353519bce
Fix #10989 double pre-disasm (#11005) 2018-08-09 22:50:20 +08:00
pancake
dc5be0e089 Show error when cannot write after VA (use api vs cmd) 2018-08-09 16:36:11 +02:00
pancake
afda57061c Show error when VA instructions cant be assembled 2018-08-09 16:32:11 +02:00
Khairul Azhar Kasmiran
be60efe129
Set baddr of smd binaries to 0 (#10995) 2018-08-09 19:35:42 +08:00
pancake
adf3f3aab4 Fix psx strings 2018-08-09 11:41:21 +02:00
David CARLIER
b8de512703 Fixing the breakpoint callback signature. (#10998) 2018-08-09 11:46:00 +08:00