Commit graph

6947 commits

Author SHA1 Message Date
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
pancake
2369e0aebb Add RAnal.cur.esil_trap () 2014-12-15 00:36:02 +01:00
pancake
acb4037383 Fix warnings 2014-12-14 23:08:05 +01:00
pancake
391676dc39 Cleanup the pdb_downloader function (-40LOC) 2014-12-14 23:04:50 +01:00
pancake
9345a2e59f Fixed disasm line glitches 2014-12-14 19:50:56 +01:00
pancake
6e7ef1fd3c Fix #1832 - asm.varsub is working now. Add sys/install.sh --without-pull 2014-12-14 02:36:57 +01:00
pancake
b7a8af83dc Fix varsub build (fix inter-module dependency issue) and catch overflow 2014-12-14 02:10:55 +01:00
pancake
cace7101e5 Fix warnings in RCons and update sdb 2014-12-14 01:56:55 +01:00
Alvaro Muñoz
a6b34c4d53 Fix #1819 - Better var disasm and management. var subst in disasm is back 2014-12-14 01:51:55 +01:00
pancake
984afca05c Fix bb overlap bug causing wrong graphs and enhace 'a2f' 2014-12-14 01:49:04 +01:00
pancake
83b9b1fdb5 aC is the new ac. Add ac command to analyze call destinations 2014-12-13 11:28:17 +01:00
pancake
3f61490c72 Do not show guid/dbgfile in 'i' if not available 2014-12-12 23:16:59 +01:00
pancake
f5959d3534 Fix pie main detection with baddr for non-pie 2014-12-12 23:15:16 +01:00
inisider
f9048c2a44 Add init function of PDB downloader 2014-12-12 15:31:05 +01:00
pancake
82342bb0ca Update capstone to fix the ARM64 branch disassembler/analyzer 2014-12-12 15:26:47 +01:00
pancake
31d1ec7349 Implement r_file_dirname and support DOS paths in r_file_basename too 2014-12-12 13:59:39 +01:00
pancake
1a65e14627 Update capstone and fix some ARM64 analysis issues (still buggy) 2014-12-12 13:48:42 +01:00
pancake
49af10d42a Fix #1799 - Detect main symbol in Linux ELF PIE bins 2014-12-12 13:21:53 +01:00
pancake
70658f142d Fix PE parser issue 2014-12-12 02:04:44 +01:00
pancake
cd6e60ae34 Update sdb from git, fixing some crashes 2014-12-12 01:38:27 +01:00
Kamil Rytarowski
ac9af5531b Enable backtrace(3) in NetBSD >=7.0
This patch was prepared with the assistance of the upstream.
2014-12-12 00:41:19 +01:00
pancake
6d309e2c5e Implement dko for Linux. Enhace the command and support SKIP and CONT options
- Can continue into the signal handler
- Can skip the instruction and ignore the signal handler
- By default it will just stop in there
2014-12-12 00:34:53 +01:00
pancake
f14eeabc01 Fix infinite loop in DWARF parser spotted by Melkor 2014-12-11 20:01:18 +01:00
pancake
262b0cfd55 A fix for a MACH0 crash 2014-12-11 19:57:01 +01:00
pancake
d47b488a0f CL without arguments is an alias for 'CL $$' 2014-12-11 19:27:51 +01:00
pancake
fa4df53077 Another overflow in DEX 2014-12-11 17:47:04 +01:00