Riccardo Schirone
8727840e90
anal/fcn: use getter/setter to access the size of a RAnalFunction
...
This is one of the first steps to improve analysis. This way we'll have
one single place to change if we want to change the meaning of the
"size" field. (size -> realsize)
2016-05-19 01:50:50 +02:00
NaveenBoggarapu
fabf7020fb
Fix #4523 - Fix asm.emu + pd leaks
2016-04-07 11:11:46 +02:00
NaveenBoggarapu
f5650005bf
corrected minor spelling and grammar mistakes
2016-04-01 19:25:32 +02:00
pancake
f4618c0bbd
Remove radiff2 -CC because we already have -A, -AA, -AAA ...
2016-03-22 13:00:02 +01:00
pancake
895a966884
Do not diff function strings, increase memlimit
2016-03-22 01:31:10 +01:00
shengdi
49bf08cba0
Added size to radiff -C output
2015-10-29 23:44:19 +01:00
pancake
67daa4c07a
Drop comments from dot graphs
2015-09-28 16:09:24 +02:00
pancake
b515a34676
More stdboolification
2015-09-14 12:35:38 +02:00
pancake
061a2af999
Add radiff2 -CC for deeper bindiffing
2015-04-07 04:12:18 +02:00
Andrew McDonnell
841a00e0d1
Add option to radiff to suppress names
2014-12-26 19:26:06 +01:00
pancake
b15e1b9606
Add experimental agf to compare two functions from the same file #1894
2014-12-22 11:04:12 +01:00
pancake
44e390e130
Check for null parameters in RCore.GraphDiff
2014-11-24 05:53:14 +01:00
jvoisin
9f18c219a6
Optimize radiff2 -g off1,off2
...
- Less than one sec now versus more than 15 before
- Code is cleaner (no more "r_core_cmdf")
- Colours are now correct
- Fix `radiff2 -C`
2014-08-20 03:51:10 +02:00
Fedor Sakharov
318a2c17d3
Fix formatting of long function names in radiff2
2013-11-18 13:27:06 +01:00
Anton Kochkov
e43a1f921d
Deep integration of complex types - build fixed
2012-07-22 12:41:53 +04:00
pancake
253047bb1c
r2 -q flag now quits after processing -c or -i
...
Allow to load multiple files with -i
Create file if not exist when -w is used
Warn when finding 'q'
2012-07-13 01:23:05 +02:00
pancake
7a4a3dbbfd
Fix string parsing in rabin2 -z and more random fixes
...
- Random changes in libr/db/pair.. still buggy
- remove debug printfs from calc.c
- ?k command is now more usable. supports ``..` strings
- fix segfault in r_cons (nullptr)
- Add support for !! command to use r_cons
> pd|!grep eax~ebx # now this command works
2012-07-02 00:38:02 +02:00
pancake
be6c39c54f
* Use r_list_foreach[_safe] where appropriate.
2012-02-14 18:19:16 +01:00
pancake
04cbf68819
* Fix segfault in elf (thanks @earada!)
...
* Make cg and cgo work
* Added r_anal_diff_setup_i()
- Fixed bindings
2011-10-16 13:59:05 +02:00
pancake
3d142e8ec1
* Initial import of the hashtable implementation of WayLand
...
- Kinda smart (150LOC)
- Fork it for 64bit hash keys (make ht64 in libr/util)
* Make RConfig use the RHashTable to resolve by name
- Code cleanup resulting in -30LOC
- O(1) access to config variables (speedup!)
- Make r_list_free and r_list_destroy take sense
2011-03-17 19:05:39 +01:00
Nibble
864fd7aa7e
* Move gdiff stuff to r_anal_diff
...
* Make r_anal_diff customizable by plugins
* Refactor r_anal and redesign API
* Add dummy methods for security patches evaluation in r_anal_diff
* Add functions:
- r_anal_diff_fingerprint_bb
- r_anal_diff_fingerprint_fcn
- r_anal_diff_bb
- r_anal_diff_fcn
- r_anal_diff_eval
2011-03-06 15:21:13 +01:00
Nibble
332524e120
* Rename r_anal_aop_* to r_anal_op_*
...
--HG--
rename : libr/anal/aop.c => libr/anal/op.c
2011-02-24 14:06:49 +01:00
Nibble
ead4e9502f
* Simplify type assignment in r_anal
...
* Include fcn type in 'rabin2 -r' output
2011-02-08 00:15:12 +01:00
Nibble
cc9cefa74e
* Some refactoring of r_anal
...
- Add fcn types for syms and imports
- Filter bindiff matches by type (speed up analysis)
- Assign the right fcn type in bin_load
* Fix segfault in r_anal
- Solve bug with unknown opcodes + graph splitting
* Update more vapi's
2011-02-07 17:43:50 +01:00
Nibble
1d83a7ba25
* Some optimizations in r_anal
...
- bb's are included in fcn struct
- analyze bb's and fcn's all together
* Update some vapis
* Fix build
2011-02-04 14:03:59 +01:00
Nibble
5b9fd63c1f
* More work on gdiff
...
- Follow basic blocks instead of diffing fcn->addr+fcn->size
vs fcn2->addr+fcn2->size
* Remove unused r_core_anal_graph_fcn
* Fix build
2010-12-24 16:58:27 +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
Nibble
5c986e4464
* Fix bug calling r_anal_fcn_add()
2010-11-23 20:16:43 +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
pancake
5d107aa50c
* Fix build
...
* Fix soname for libr2.so
2010-10-28 13:12:14 +02:00
pancake
63be7d8070
* Use relative symlinks in versioned libs
...
* Add r_meta stuff inside r_anal api
2010-10-28 12:10:21 +02:00
Nibble
bfbd12ed3c
* Don't add symbols as functions before analyze them
...
* Update and simplify gdiff
2010-10-13 18:51:10 +02:00
Nibble
097edd11c6
* Add support for non-splitted graphs
...
* Add config var anal.split
* Fix segfault in r_anal & r_big
* Fix r_anal split algorithm
* Minor fixup in bb type assignment
* Fix partial graphs generation
2010-06-02 19:17:47 +02:00
Nibble
fcc6b8d013
* Add flag -M to rabin2 at radare2 startup and cg
...
* Add r_asm_mdisassemble_hexstr
* Update r_asm.vapi
2010-05-30 13:00:21 +02:00
Nibble
8d2d0e0806
* r_core
...
- Fix bug in r_core_anal_graph_nodes (s/printf/r_cons_printf/)
- Use r_str_chop_ro to get 'cg' filename
* r_diff
- Reimplement graphdiff using r_core functions
* r_config
- Fix t/Makefile using -l instead of .o's
2010-05-28 10:17:24 +02:00
Nibble
4235dd2a8e
* Fix bug with static plugins
...
* Treat r_cons and r_line as singleton in r_core_init
* Move gdiff to r_core
* Fix libgmp support
--HG--
rename : libr/diff/gdiff.c => libr/core/gdiff.c
rename : libr/diff/gdiff.h => libr/core/gdiff.h
2010-05-28 02:44:51 +02:00