1060 Commits

Author SHA1 Message Date
pancake
af8326bd3d Use capstone by default for POWERPC and do some more fixes in anal 2014-11-10 16:22:09 +01:00
pancake
8e96721eb6 A bit better sparc.cs analysis 2014-11-10 14:49:21 +01:00
pancake
208b6ce089 Switch to Capstone for ARM by default 2014-11-10 06:27:19 +01:00
pancake
293ba25765 Switch to Capstone for MIPS (instead of GNU) 2014-11-10 06:21:22 +01:00
pancake
068dcfd7a7 Switch to capstone by default for x86 2014-11-10 06:15:27 +01:00
pancake
c96a05227e Handle refs in arm.cs for ADD+pc 2014-11-10 03:34:01 +01:00
fl4shk
1853478b06 anal_arm_cs.c THUMB ldr stuff fixed 2014-11-08 00:24:03 +01:00
pancake
b736119a4a Colorize S=, Add anal.gp and better op.refs for mips and x86
- Add anal.gp to make mips.cs code analysis happy
- S= honors scr.color
- Fixed x86(capstone,udis) memrefs for mov/cmp
2014-11-07 03:48:27 +01:00
pancake
9f9ac0cb16 Add support for refptr analysis in ARM (gnu + capstone) 2014-11-07 01:24:14 +01:00
jvoisin
5ec319244b Fix some warnings 2014-11-07 00:54:31 +01:00
pancake
87273cf144 Initial commit enhacing disasm with aop.ref and aop.refptr (x86.udis only atm) 2014-11-07 00:41:29 +01:00
pancake
e0ee4edb10 Fix xrefs code analysis issue on x86.cs (and probably other anal backends) 2014-11-06 16:01:00 +01:00
pancake
cc860ced0b Handle immediate memory references from capstone 2014-11-06 03:13:47 +01:00
trndr
567bcd39f1 Add bigendian register byteswap 2014-11-04 02:17:35 +01:00
pancake
dcfb90ae94 Wip Fix r2 -d oo (workaround, because it's a race condition in fork+pid2path) 2014-11-03 11:47:51 +01:00
Henrik Nordstrom
2c682c5b17 Correct save of metadata in project file
Corrects save of Cs, Cd, Cf, Cm meta commands

help text also slightly updated to match actual
working commands and syntax.
2014-11-03 09:45:10 +01:00
pancake
84070a45f6 Implement anal.{limits,from,to} 2014-11-03 04:12:12 +01:00
pancake
a9eb8da77b Fix overflow in r_asm_disassemble() and implement rip-relative refs in anal.x86.cs 2014-11-03 03:27:22 +01:00
pancake
1e3e97f2fb More and better support for tasks. Add anal.sleep to avoid 100% cpu in analysis 2014-11-02 02:01:09 +01:00
pancake
6a6290a4da Implement Sdb in RDebug.Traces. O(n) vs O(1) in pd with asm.traces=true 2014-11-02 01:21:45 +01:00
pancake
14917b1fb7 Fix #1576 - Infinite analysis loop 2014-11-02 00:28:22 +01:00
pancake
1c3df12988 Use the new cs_disasm_iter API for {asm,anal}.x86.cs plugins (experimental) 2014-11-01 23:54:23 +01:00
pancake
e5de1a3ae7 Fix #1561 - 'afv' working again 2014-10-28 17:24:01 +01:00
skuater
aca2bfb2b1 add prefix repe 2014-10-26 19:19:59 +01:00
jvoisin
a60d82b800 Fix a lot of warnings for GCC
Less than 20 warnings remaining on my x86_64 GCC 4.9.1
2014-10-26 13:50:58 +01:00
pancake
a2c3647ad0 Somewhat better BoostJam support 2014-10-26 02:47:08 +02:00
pancake
263f776f7d Fix data xrefs for the ioli crackme 2014-10-25 00:55:11 +02:00
pancake
1c7b576f1b Another fix for xrefs 2014-10-21 01:02:25 +02:00
pancake
51121e9c9b Make anal.eobjmp an option for testing different analysis rules 2014-10-20 23:13:38 +02:00
pancake
8e8bf631bf Update capstone to use the new X86_PREFIX defines 2014-10-20 14:48:25 +02:00
pancake
7b65bb16b2 Implement LEA ptr references for x86.udis and x86.cs 2014-10-18 06:30:51 +02:00
pancake
4ba808e637 Handle x86 prefixes on x86.cs plugin 2014-10-17 14:40:14 +02:00
pancake
cc8566b671 Add RAnalOp.prefix and handle it from x86.udis, Colorize 'ao' 2014-10-17 01:15:17 +02:00
pancake
25d2821696 Autodisable asm.flags when asm.flagsinbytes is set, fix esil for x86 call 2014-10-16 02:16:52 +02:00
pancake
859daf9a5b Add consonance and tango themes. Add asm.flaginbytes
* invalid instruction color is now configurable
* fixed SAR as unknown instruction issue
* Bring back dead code to render flags between the offset and opcode
* Fixes for the rasta and solarized themes
2014-10-16 01:51:48 +02:00
pancake
49cc0001c2 Fix #1519 - Jumps creating new functions 2014-10-15 16:10:55 +02:00
pancake
0e0dc63aa8 Fix r2 -d problem not loading syms. Redo the ASLR/PIE again 2014-10-15 15:41:02 +02:00
pancake
42232354a7 Add 'ai' - address info, Enhace 'ad' (support patterns and sequences)
- ai shows: exec,read,write,flag,func,stack,heap,reg
- Add r_reg_regset_get()
- Implement r2.cmdj in r2.js
2014-10-15 02:24:22 +02:00
pancake
676ed9e861 Add 'afC' for calling convention changes in function definitions 2014-10-14 17:09:42 +02:00
Fedor Sakharov
0b9abbd87a Move arch headers from ./lib/include 2014-10-14 14:24:22 +02:00
pancake
c9754da05f Initial support for function declarations in Cparse (loaded into sdb) 2014-10-14 11:55:02 +02:00
pancake
d18481971e Fix infinite loop in analysis 2014-10-09 18:43:57 +02:00
pancake
07605a0a42 Add MSDOS interrupt table and add x86-16bit reg profile 2014-10-09 10:02:18 +02:00
condret
558da5977a remove unused code in anal_gb.c via #if 0 2014-10-08 15:55:22 +02:00
pancake
0ca35e7fe7 Fix the esil.x86.udis86 for lea and add iret* 2014-10-07 03:31:54 +02:00
pancake
a77daafd27 Add optype for in/out/iretd for x86.udis 2014-10-05 16:17:06 +02:00
pancake
626d70d30d Recognize LDR pc and POP pc as RET in arm.cs 2014-10-05 15:36:11 +02:00
pancake
a58789782d Finally fix the brainfuck emulator 2014-10-03 20:05:33 +02:00
pancake
b25af56871 Fix negative rpnesil mask issue 2014-10-02 11:07:04 +02:00
pancake
18e6fda463 Fix the ESIL emulation (skip flag must be reset on every parse) 2014-10-02 10:55:24 +02:00