File: bindiff

package info (click to toggle)
radare2 0.9.6-3.1%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 17,496 kB
  • ctags: 45,959
  • sloc: ansic: 240,999; sh: 3,645; makefile: 2,520; python: 1,212; asm: 312; ruby: 214; awk: 209; perl: 188; lisp: 169; java: 23; xml: 17; php: 6
file content (25 lines) | stat: -rw-r--r-- 630 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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...