Commit graph

73 commits

Author SHA1 Message Date
Álvaro Felipe Melchor
4b08d38cb1 more mem leak fixes 2016-06-29 10:11:25 +02:00
Álvaro Felipe Melchor
3cedcc1c4b Trying to fix memleaks (#5218)
* Trying to fix memleaks
* fix null dereference in r_anal_var_list
2016-06-28 23:14:16 +02:00
pancake
bfa8eb740a Optimize callconv and fix two bugs related to op_pos 2016-06-17 18:38:25 +02:00
pancake
fb3be2c58f Do not nullify RAnalOp after fini() 2016-06-17 15:52:57 +02:00
pancake
1629dd2b64 Remove two unused fields in RAnalOp and some deadcode 2016-06-17 14:26:24 +02:00
pancake
5c14841299 Support op->family and some op->cycle for anal.arm64 2016-06-16 01:43:41 +02:00
dx
58c5a333c0 Fix a few anal leaks (#5076)
Mostly sdb_get() calls turned into sdb_const_get(), but there are
others.
2016-06-03 15:33:08 +02:00
pancake
16d0396b8f Fix /A, add MJMP optype, and op.reg for UJMP 2016-05-30 00:38:35 +02:00
pancake
c36b299073 Fix some null deref and rarun2 chroot escape vuln 2016-05-24 12:32:45 +02:00
pancake
3d89f2cc21 Add RAnal.Stack.RESET and handle it for arm64 2016-05-11 12:59:32 +02:00
pancake
c01b5a6562 More memleak fixes 2016-04-04 00:52:45 +02:00
pancake
54fe1ae941 Fix uaf and another memleak 2016-04-04 00:36:18 +02:00
pancake
9d62ee0ddf Fix m68k.cs disassembler issue, honor asm.cpu in anal.m68k.cs 2016-03-24 16:21:49 +01:00
Álvaro Felipe Melchor
747699f712 remove stray error 2016-03-11 21:05:51 +01:00
Álvaro Felipe Melchor
4436e33ea5 check negative size on memcmp 2016-03-11 20:40:50 +01:00
Riccardo Schirone
fa2f6ba56e anal/op: fix get_used_var to really get the used local var in inst 2016-02-27 15:30:11 +01:00
pancake
36a61b6f10 Optimize a70caf7160 2016-02-24 18:09:30 +01:00
Jeffrey Crowell
a70caf7160 fix crash in r2 -A
crowell: http://jjdredd.github.io/petka2.exe
crowell: http://jjdredd.github.io/petka.bt.txt
2016-02-24 00:41:36 -05:00
pancake
1de0582257 Fix some more asm.decode nulls 2016-02-23 12:20:01 +01:00
Riccardo Schirone
e72f5ed0ae anal/op: add var field to RAnalOp to store the local used by op
anal: save writes/reades of vars/args and fix x86 stackop analysis
2016-02-23 02:35:47 +01:00
pancake
5d7421e355 Fix #4064 - asm.decode (null) issue 2016-02-22 23:21:29 +01:00
Riccardo Schirone
f651209623 core/reflines: start cleaning up the code 2015-11-07 11:23:31 +01:00
pancake
92f4e72228 Fix infinite analysis for archs without anal plugs 2015-11-05 16:51:36 +01:00
jvoisin
1d485ea927 coverifix 2015-10-19 23:31:36 +02:00
pancake
b111057798 Fix #3505 - analyze cmovs a bit 2015-10-18 22:14:06 +02:00
condret
fe18c8b1ef avr_anal esil-expression for des 2015-10-15 18:05:47 +00:00
condret
8d2f6a4595 avr_anal 7 more instructions with cycles and esil 2015-10-15 00:24:23 +00:00
pancake
42bc18703a Implement asm.pcalign and min/max opsize info 2015-10-14 02:11:53 +02:00
pancake
47cec917b2 Add asm.family 2015-10-03 13:52:52 +02:00
pancake
8eb71af9ed Internal reg prefix is now $, 85008 for curpc, TRAP for traps 2015-09-14 11:31:54 +02:00
pancake
d2233a896b Add de Debugger Esil API for advanced software watchpoints
- Implemented in r_debug_esil_* APIs
- Support for step-into and continue
- Expressions can be regs, numbers, math operations, ranges, comparisons..
- Honor dbg.prestep for stepping before or after analysing
- read-write-exec watchpoints using native debug backend and esil emulation
- OSX/iOS debugger error message is now nicer
- anal/rpnesil renamed to esil
- Add esi,edi in osx regprofile
- Add r_cons_is_breaked() for consistency
2015-07-21 06:11:42 +02:00
pancake
e147a21be9 Fix some of the alloc-check bugs reported in #2772 2015-06-17 12:36:08 +02:00
pancake
f4e3f593d4 Add dexdump.sh to import DEX info into r2, VF now fits in screen
And 'C' toggles color! a use-after-free has been fixed too
And more instructions are now recognized by the analysis
2015-03-24 03:23:56 +01:00
pancake
4c942c2632 Implement /Af? to list all instruction families 2015-03-08 22:44:00 +01:00
pancake
f4ad6cd79d Add /Af support for RAnalOpFamilyPriv for privileged instructions
- x86.cs only atm, capstone support is still wip
2015-03-08 22:09:59 +01:00
pancake
7bda81d6d0 Add /A and s/A to search for opcodes of specific type.
-Add OP.Type.FPU and OP.Type.PRIV (wip)
2015-03-04 00:46:59 +01:00
jvoisin
2c348998fd One coverifix, and add the "sal" instruction support in r_anal_optype_to_string 2015-01-15 01:31:21 +01:00
pancake
8827dd2451 'ao'->family is now a string 2014-12-02 00:37:35 +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
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
Jody Frankowski
df289d8611 Unify fcn_find and get_fcn_at in get_fcn_in and get_fcn_at 2014-09-26 17:16:28 +02:00
pancake
342ff7ba4f Bring back the anal vars (wip), Fix Vvg, and VJK with screen boundaries 2014-09-22 13:45:36 +02:00
jvoisin
32743f0312 Coverifix for rpnesil 2014-08-20 21:09:01 +02:00
deeso
684b459c20 Bug in the code flipped jump and case value of the switch op, remove dangling in_switch key, and add a formal "case" op-type
and changed some strings back to "static" from "R_API"
2014-08-13 03:12:23 +02:00
condret
27d7725950 Code clean up and fix o+ 2014-03-26 22:32:45 +01:00
condret
d6dae07979 Implement RAnalCycleFrame Stuff, New optypes and esil-adc/sbc 2014-03-25 02:36:54 +01:00
pancake
92c5d8513b Refix link 2014-03-18 02:21:52 +01:00
condret
bf61ecdeee Add cpu fail cycles, Add CCALL and improve GB 2014-02-26 01:15:34 +01:00
Adam Pridgen
9ce16534ed fixing coverity issues 2014-01-04 05:58:44 +01:00
Adam Pridgen
bc2ee1f869 Improved plugin analysis allowing plugin developers to define custom
analysis algorithms.
Java analysis plugin is re-written to leverage this capability.
Added some new R_ANAL types, and some of the respective operations and strings.
Updated io-component files to get file size and info
2014-01-03 00:28:46 +01:00