mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-15 09:21:00 +00:00
6b1001aefc
- Add support for function/basicblock code diffing - Import nibble's test-ragdiff2.py in swig/python - Added some documentation in doc/bindiff
26 lines
630 B
Plaintext
26 lines
630 B
Plaintext
Bindiffing with r2
|
|
==================
|
|
|
|
Graph diffing:
|
|
--------------
|
|
To find functions that are different from one to another binary:
|
|
|
|
radiff2 -C a b -> show report of all analyzed functions and say if they match or not
|
|
|
|
# get graphs with colorized basic blocks of unmatching function 0x8034804
|
|
radiff2 -g 0x8034804 a b > a.dot
|
|
radiff2 -g 0x8034804 b a > b.dot
|
|
xdot a.dot & xdot b.dot
|
|
|
|
TODO: loading information from previous analysis
|
|
|
|
Byte diffing:
|
|
-------------
|
|
radiff2 /bin/true /bin/false
|
|
|
|
Delta byte diffing:
|
|
-------------------
|
|
radiff2 -d /bin/true /bin/false
|
|
|
|
TODO: explain more modes and examples here...
|