Commit Graph

1146 Commits

Author SHA1 Message Date
pancake
29a870a269 * Minor cosmetic sugar fixes in CODE XREFs
* Some more fields into r_io vapi
2010-12-15 11:32:39 +01:00
pancake
b53ea8bec1 * Apply @earada patch
- Fixed redundant check in r_hex_str2bin
  - Initialize fd in r_io_new
  - Added Haret IO (WinCE app) plugin
2010-12-13 10:41:28 +01:00
pancake
ef9e96c03d * Some cosmetic fixes in 'pd' 2010-12-13 00:49:33 +01:00
Nibble
058631a555 * Only compare fcns by name if it begins with "imp.", "sym.", "fcn.imp." or "fcn.sym."
- Avoid problems with functions named fcn_offset
2010-12-09 16:04:55 +01:00
Nibble
c2da7cf5a2 * Compare fcns with the same name first in gdiff 2010-12-07 16:52:33 +01:00
Nibble
2bb73ba631 * Add getter r_anal_get_fcns()
* Install python bindings also in dist-packages
* Update and fix some vapis
2010-12-06 16:26:21 +01:00
Nibble
28d0a62430 * Change gdiff API so it takes 2 core's as args
* Don't output diff info and vars in 'afl' for loc's
* More refactoring of gdiff
2010-12-06 03:34:44 +01:00
Nibble
ea73472ee6 * Add optimization in gdiff based on function size boundaries
- Makes bin diffing 5 times faster
2010-12-05 19:43:12 +01:00
Nibble
92baebdadd * More optimizations in gdiff
* Fix af* output
2010-12-05 10:44:27 +01:00
Nibble
a0ae2c2286 * Show detailed info for diffing in afl output
* Create struct RAnalDiff and move diff related fields inside
* Move {RAnalFcn, RAnalBlock}.diff from int to RAnalDiff*
* Add r_anal_diff API
2010-12-05 08:46:56 +01:00
Nibble
b3e34d3270 * Free fingerprints in gdiff when they have been used 2010-12-04 19:49:13 +01:00
Nibble
e88482e1b7 * Remove DEBUG messages from gdiff 2010-12-04 15:25:45 +01:00
Nibble
c254af504f * More optimizations in gdiff
* Fix the usage message of radiff2
2010-12-04 15:24:39 +01:00
Nibble
f50fc41794 * Huge refactoring of gdiff using Levenshtein distance and binmasks 2010-12-04 15:14:53 +01:00
pancake
5e2fd3197e * Added dummy r_bin_demangle 2010-12-03 14:53:06 +01:00
Nibble
fc11acc128 * More work in var analysis
* Put RAnalVar->type and RAnalVar->dir together
2010-12-03 13:52:11 +01:00
pancake
b955a66459 * Apply patch from @earada
- Fixes sha1 and md5 issues on 64bit
2010-12-02 22:32:49 +01:00
pancake
96c998fe78 * Fix XREFs and xdot graph output 2010-12-01 23:30:00 +01:00
pancake
1ccef0d493 * Fix some fd leaks in r_socket library 2010-11-30 13:54:07 +01:00
Nibble
f55fb1accf * Fix r_anal_var_add() call in cmd.c 2010-11-29 20:11:49 +01:00
Nibble
eb88fa40fc * Set variable direction during function analysis
* Add argument "dir" to r_anal_var_add()
* Fix reg handling in x86im plugin
* Fix variable analysis in r_anal
* Use plugin "x86" in ranal2 by default
2010-11-29 20:06:11 +01:00
Nibble
f0d2279a0e * Little refactoring of rax2 2010-11-29 13:20:44 +01:00
pancake
61cf8cd3aa * Remove unused libr.pc.acr
* Set procmod group in osx make target of r2 bin
2010-11-29 10:27:11 +01:00
pancake
8aded92fa6 * Added C stub for plugin.vala
- Major cleanup in vapi/t Makefile
* Fix a format string bug in flags
2010-11-29 10:22:38 +01:00
pancake
58fc61d486 * Fix overflow (Thanks Adriana for the patch!) 2010-11-29 01:29:21 +01:00
pancake
623d91e678 * Apply Adriana patch with some new shellcodes for rasc2 2010-11-29 01:28:17 +01:00
Nibble
717713c3b2 * Rename cmd 'a' to 'aa' (analyze all) 2010-11-27 15:03:00 +01:00
Nibble
0ffefbc320 * Modify cmd 'a' to analyze all the fcn's and bb's of the bin 2010-11-27 04:20:19 +01:00
pancake
63ac407fa4 * Add initial support for OSX on 64bits 2010-11-26 17:16:06 +01:00
pancake
6839391400 * merge 2010-11-26 14:49:32 +01:00
pancake
64fedcd772 * merge 2010-11-26 14:41:47 +01:00
Nibble
ed33751a8e * Add cmd 'a [@ addr]'
- Helper for af+ab (analyze functions and basic blocks)
* 'a?' shows analysis help
2010-11-26 13:13:45 +01:00
pancake
cb077db5f2 * Add codesign makefile target for OSX 10.6 2010-11-26 13:11:11 +01:00
Nibble
caee8a1009 * return r_anal_ret_end in fcn and bb analysis if an unknown opcode is found
* re-autogen using acr 0.8.4
2010-11-26 00:44:47 +01:00
pancake
af0d0005f1 * Fix config.mk syntax 2010-11-25 14:48:07 +01:00
pancake
6507ea67b8 * Apply patch from @astralia
- Adds -S and -s flags to rax2
2010-11-25 01:27:27 +01:00
pancake
b1a47b8494 * Added USEROSTYPE in configure, like in parent .acr
- Use acr 0.8.4
  - Bump revision to 0.6.1
2010-11-24 23:55:38 +01:00
pancake
7c844bb576 * Fix all vapi files fixing valaswig bindings
- Implement missing methods
2010-11-24 23:19:17 +01:00
pancake
7a4faa0e1d Fix all vala test programs 2010-11-24 13:41:58 +01:00
Nibble
5c986e4464 * Fix bug calling r_anal_fcn_add() 2010-11-23 20:16:43 +01:00
Nibble
7e8b8a9900 * Show /* func: */ or /* loc: */ in disassemble
* Filter fcn searchs by type (reduce pd time)
* Add arg 'type' to r_anal_fcn_find()
2010-11-23 19:55:31 +01:00
Nibble
e4832f435d * Distinguish betwen fcn's (call refs) and loc's (jmp refs)
* Show fcn type and code xref type in 'afl' output
  - C for calls, J for jmps
* Add optional argument 'type' to command 'af+'
  - l for loc's, f for fcn's (default)
* Add argument 'type' to r_anal_fcn_add()
* Add field type to RAnalFcn and enum RAnalFcnType
2010-11-23 17:15:33 +01:00
Nibble
b3cd57f573 * Add arg reftype to r_core_anal_fcn()
* Add R_ANAL_REF_TYPE_CALL and R_ANAL_REF_TYPE_NULL to RAnalRefType enum
* Set type R_ANAL_REF_TYPE_CALL to call refs during opcode analysis
* Fix bug in r_core_anal_fcn() increasing performance
2010-11-23 14:05:23 +01:00
pancake
2ea135690c * Fix build on OSX-32/64 2010-11-22 18:40:54 +01:00
Nibble
60f54b6969 * Add r_core_anal_fcn_cc() in r_core for Cyclomatic Complexity calc
* Add command 'afc'
* Add fields 'ncalls' (number of calls) and 'conditinal' to RAnalBlock
* Set anal.split=true by default
2010-11-22 15:14:54 +01:00
pancake
75ac253a23 * Fix segfault in r_core_read_at 2010-11-22 01:27:20 +01:00
pancake
f9d33abbb4 * Fix signature of RCore.read_at in r_core.vapi 2010-11-22 01:22:27 +01:00
Nibble
1f8d80e37c * Zero out UCALL and UJMP opcodes in r_anal_strmask()
* Add imports to functions with name fcn.imp.* in r_core_bin_load()
* Fix bug in cmd 'zg', truncate ouput file
2010-11-21 19:01:41 +01:00
Nibble
e8a09f4e87 * Fix some overlapping strcpy's (thx @earada!) 2010-11-20 18:35:40 +01:00
Nibble
71978e186f * More optimization on the analysis loop
* Add config_analsplit_callback() in anal/config.c to set RAnal->split
* Add field split to RAnal struct
  - Avoid unnecessary call during BB analysis
* Set the default anal depth to 100
* Take into account internal calls in xref analysis
* Rename anal_x86_x86im to anal_x86 and make it the default anal plugin
* Rename anal_x86 to anal_x86_simple (x86.simple)

--HG--
rename : libr/anal/p/anal_x86_x86im.c => libr/anal/p/anal_x86.c
rename : libr/anal/p/anal_x86.c => libr/anal/p/anal_x86_simple.c
rename : libr/anal/p/x86_x86im.mk => libr/anal/p/x86.mk
rename : libr/anal/p/x86.mk => libr/anal/p/x86_simple.mk
2010-11-20 16:47:15 +01:00