51 Commits

Author SHA1 Message Date
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
pancake
c165361124 Add bin.bf for brainfuck and use static ESIL struct 2013-12-10 03:35:59 +01:00
BatchDrake
b04a9776a2 Refactorization of RAnalOp.esil to make it compatible with RStrBuf 2013-12-08 22:47:50 +01:00
pancake
6f29ef9022 Fix #392 - visual mode crashes when seeking backwards 2013-12-01 23:33:07 +01:00
pancake
b8f7138092 New palette in disasm, fixed 'fs*', better scr.colorops
Fix 'make w32'
Some more enhacements on the webui
New palette. im open to suggestions
Fixes in the scr.colorops parsing
Fix 'fs*' command
Analop now sets Type.ILL if invalid
2013-07-04 03:34:28 +02:00
pancake
082fccc1b2 Change r_anal ABI to fix bindings +to_esil_string() 2013-06-09 03:25:32 +02:00
pancake
9f309aea25 Rename RAnalOp->code to RAnalOp->esil (Evaluable String Intermediate Language) 2013-05-17 01:50:49 +02:00
pancake
be02d4fc9d Initial work on the evaluable opcode analysis strings
- New command 'ae' to evaluate those expressions
- Use 'ao~code' to see the generated eval strings
- Rerefix udis86 16bit issue
2013-05-04 02:35:52 +02:00
pancake
84270da643 Add randomart print mode (pk/pK commands and rahash2 -k)
Random code cleanup
Remove borders in webui/two
2013-02-12 02:42:34 +01:00
pancake
1a6d3155e5 Enhace r2wui and implement 'pdj' command (disasm to json) 2012-11-08 09:49:27 +01:00
pancake
5c236fa0e3 Add mips pseudocode, anal.hasnext, fix anal bugs
Better mips analysis
Implemented mips pseudocode plugin
Change asm.parser in asm.arch callback
2012-08-31 11:45:06 +02:00
Anton Kochkov
115f10ff73 cparse integration stage 2, added calling conventions, changed variables/functions to use new types system 2012-07-22 12:01:38 +04:00
pancake
1fe1417c39 Apply patch from Anton Kochkov fixing whitespaces
Bump 0.9.1hg to 0.9.1git as reported by @schrotthaufen
2012-07-17 10:00:23 +02:00
pancake
7b093a3ed5 * Fix all dangerous bugs reported by llvm-analyzer 2011-11-14 22:46:23 +01:00
pancake
c16d61b370 * Add missing fs/types.h
* Fix many memory leaks in r_anal_{op,cond}
* Fix signature of r_fs_name()
2011-11-14 00:21:25 +01:00
pancake
efb113ce8b * Fix '// ?' pseudodecompiled issue
- Thanks l0gic for reporting!
2011-08-18 17:03:45 +02:00
pancake
edc7da8f7c * More strcpy/sprintf/strcat exterminations 2011-07-06 09:40:23 +02:00
pancake
6c822b9090 * Added 'make purge'
* Added pipelined RAnalOp
  - Added r_anal_(op|value)_copy
  - Some minor review of RFS api
2011-03-28 10:24:01 +02:00
Nibble
67e20135cc * Add support for more opcodes in anal_x86
- lea, leave...
* Update asm.decode with these changes
* Add var $o for core->io->offset
* Fix "function"|"loc" comments in disasm
* Fix p%
2011-03-01 19:16:29 +01:00
Nibble
1535b4c5c1 * Don't flag imports/symbols twice (also for functions)
* Remove unnecessary calls to r_flag_space_set()
* Show calls nicer in decode mode
2011-02-28 17:27:08 +01:00
Nibble
c712fd87f6 * Show conditions in decode mode
* Fix bug with imm=0 in r_anal_value_to_string()
* Add 32bits regs to the anal_x86 profile
* Add r_anal_bb_from_offset()
2011-02-28 13:07:41 +01:00
Nibble
268d6560ad * Complete analysis for more opcodes in anal_x86
* Decode more opcodes in r_anal_op_to_string
* Complete r_anal_value_to_string()
  - Output imm values
  - Fix segfault
* Remove dupped line from x86.mk
* Remove ref to "dummy plugin" from r_asm.h
2011-02-27 16:17:05 +01:00
Nibble
77433dba56 * Fix segfault with asm.decode = true
* Add push/pop to decode
* Minor fixups in anal_x86
2011-02-27 03:39:27 +01:00