Commit Graph

6672 Commits

Author SHA1 Message Date
pancake
0cb4c60c63 Fix r2 -C crash (thanks zlul!) 2014-12-19 20:58:38 +01:00
Alvaro Muñoz
c295e33c70 fix #1825 2014-12-19 20:52:16 +01:00
pancake
a300cb8fb1 Fix memleaks in disasm.c 2014-12-19 17:49:42 +01:00
pancake
d6d7a40f4f Avoid reading when it is not necessary in pDj 2014-12-19 16:57:18 +01:00
Alvaro Muñoz
1cca39e3f6 fix #1863 2014-12-19 16:55:16 +01:00
pancake
f95d2ddd92 Update capstone (merges rex branch into next) 2014-12-19 16:50:35 +01:00
pancake
c8458d3379 Fix build 2014-12-19 14:59:18 +01:00
Jeffrey Crowell
0621f37d25 scoping of badstart was wrong
we couldn't find "middle of instruction" gadgets, now we can
2014-12-19 14:23:08 +01:00
pancake
5c8277cbf0 Update capstone 2014-12-19 14:15:58 +01:00
Jeffrey Crowell
908784fd08 remove duplicates of gadgets 2014-12-19 14:00:26 +01:00
pancake
9a5a39a804 Add oj and o*, to list opened files in JSON and r2 commands 2014-12-19 13:46:04 +01:00
pancake
af49b74b49 Fix #1866 - pf.a.b crash 2014-12-19 13:16:04 +01:00
pancake
39896c3488 Fix w32 build 2014-12-19 13:01:44 +01:00
pancake
17b06b7cbe Add loop, show fd after o and fix int (x86.cs) 2014-12-19 12:18:25 +01:00
Skia
58375097ae Fix coverity pf leak by cleaning the function up
CID fixed:
	1258915
	1258912
	1258911
2014-12-19 12:02:10 +01:00
Jeffrey Crowell
a27c6a4df3 remove overlapping gadgets
in places where there are 2 stop gadgets very close to each other, it is
possible that both will be found in one "gadget" this will preven that.
2014-12-19 10:42:18 +01:00
pancake
559c2cd25a Add '!' inside '#!' and make r_core_editor accessible from r_cons_editor. 2014-12-19 03:17:28 +01:00
pancake
db3d5902e3 Implement 'op' command to open a new native plugin
Fixes some autocompletions
2014-12-19 02:08:58 +01:00
pancake
6fc168a5a0 Refactoring ROP search to be a bit closer to <78 cols 2014-12-19 01:25:46 +01:00
pancake
02d69d72f0 Fix build 2014-12-19 00:22:39 +01:00
pancake
68955c2d46 Handle ^C in /R and /R/ 2014-12-18 22:38:12 +01:00
trndr
6706fb7c7b Add mips cs esil SRAm SRLV, SRL, SLLV, LBU, STLU 2014-12-18 21:47:54 +01:00
trndr
e38dc3157b Remove mips cs esil shorthand expressions 2014-12-18 21:47:54 +01:00
Alvaro Muñoz
de94f88a0b fixes to disasm.c 2014-12-18 13:13:01 +01:00
Jeffrey Crowell
64268908b6 ban .byte instructions in rop search
formatting

fix the search in rop
2014-12-18 10:52:15 +01:00
Jeffrey Crowell
b1bd248cef ban .byte instructions in rop search
formatting
2014-12-18 02:27:58 +01:00
Jeffrey Crowell
dafe3c42a2 Make ARM/MIPS have less duplicate gadgets
also remove "invalid" gadgets
2014-12-18 01:55:53 +01:00
Jeffrey Crowell
1093c7528a don't mark gadgets that look past the stop addr. 2014-12-18 01:55:30 +01:00
pancake
64e9254b82 Fix #1840 - Fix formating for type Java CP values 2014-12-18 01:54:04 +01:00
pancake
49446b27c0 Fix #1848 - crash in dex parsing 2014-12-18 01:17:16 +01:00
Alvaro Muñoz
81ec413537 fix json output 2014-12-18 01:10:55 +01:00
Alvaro Muñoz
e8b5b9b517 avoid re-reading on every instruction disassembly for pXj 2014-12-18 00:29:43 +01:00
Alvaro Muñoz
73980bf617 Disasm fixes, fix backward disasembly, make pdj not behave as pDj 2014-12-18 00:29:31 +01:00
pancake
628301c56f Fix #1849 - sym.main is not lost anymore 2014-12-17 23:27:19 +01:00
pancake
c42056228d Define LC_ENCRYPTION_INFO_64 2014-12-17 13:56:21 +01:00
pancake
e831b14a15 Fix #1850 - Call cmd.hit on /m 2014-12-17 12:41:51 +01:00
pancake
b0fcb5cbe4 Fix aaa is the old aa, current aa is the old aa0. (Do not run afna)
That should fix #1849 and missing entry0 issue
2014-12-17 12:09:33 +01:00
Jeffrey Crowell
ced3041acf make the end_gadgets list actually work
don't run r_anal_op so much, 2x speed increase!
squashing
2014-12-17 11:54:03 +01:00
Skia
4a8d7e6875 Refactor cmd_print_format into r_print_format
* Enable nested specific fields access for reading and writing
* Fix pf: json regression
2014-12-17 11:34:54 +01:00
pancake
9c802db2c7 Properly update capstone 2014-12-17 00:24:07 +01:00
pancake
38d0b8bfd3 Add doc/clang-format 2014-12-17 00:18:44 +01:00
pancake
6b2761f653 Update capstone fixing x86 slowdown issue 2014-12-16 23:58:56 +01:00
pancake
fda2da3564 Fix uninitialized function pointer crash in disasm.c 2014-12-16 22:49:32 +01:00
pancake
65b580dbfc Fix #1833 - AFL crash in r_bin_java_read_next_attr_from_buffer 2014-12-16 22:36:53 +01:00
pancake
0aeb5d9636 Fix #1842 - Crash in ROP search 2014-12-16 22:25:40 +01:00
pancake
5f42271ff4 Fix #1839 - Fix crash in dalvik flagname parser 2014-12-16 22:05:09 +01:00
pancake
50a6f14763 Fix some more disasm glitches 2014-12-16 13:51:34 +01:00
Alvaro Muñoz
0332d8d332 Add var renaming in webui and fix various bugs
- Fix missing spaces when show_functions and not in function
2014-12-16 13:31:53 +01:00
Jeffrey Crowell
a5828dfed1 Make rop dissassemble back from the end gadgets
- Remove some exta dissassembly steps too
- Fix up some rop search stuff
- constify is_end_gadget
- Comment the rop stuff
- Remove constant 60
- Rename rop config stuff
2014-12-16 13:30:13 +01:00
Sébastien Duquette
e45a8a3a0b fix for issue #1834, handle NULL pointer return value from r_bin_java_read_next_attr_from_buffer() 2014-12-16 00:09:27 +01:00