forked from radareorg/radare2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathradiff2.1
56 lines (56 loc) · 1.19 KB
/
radiff2.1
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
.TH RADIFF2 1
.SH NAME
radiff2 \- unified binary diffing utility
.Dd Feb 18, 2014
.Pp
.Sh SYNOPSIS
.Nm radiff2
.Op Fl abcCOdrspvh
.Op Fl t Ar 0-100
.Op Fl g Ar sym
.Ar file1
.Ar file2
.Sh DESCRIPTION
radiff2 implements many binary diffing algorithms for data and code.
.Pp
.Bl -tag -width Fl
.It Fl a
Specify architecture (x86, arm, ..)
.It Fl b
Select register size bits for given arch
.It Fl c
Count number of differences.
.It Fl C
Code diffing using graphdiff algorithm. Output columns are: file-a-address, percentatge of most similar function in B file | file-b-address.
.It Fl O
Do code diffing with all bytes instead of just the fixed opcode bytes
.It Fl t Ar 0\-100
Choose matching threshold for binary code diffing
.It Fl d
Use delta diffing (slower).
.It Fl g Ar sym
Graph diff output of given symbol
.It Fl r
Output in radare commands as a binary patch.
.It Fl s
Calculate text distance from two files.
.It Fl p
Use physical addressing (io.va=0)
.It Fl v
Show version information.
.It Fl h
Show usage help message.
.El
.Sh SEE ALSO
.Pp
.Xr radare2(1) ,
.Xr rafind2(1) ,
.Xr rahash2(1) ,
.Xr rabin2(1) ,
.Xr rasm2(1) ,
.Xr ragg2(1) ,
.Xr rarun2(1) ,
.Xr rax2(1) ,
.Sh AUTHORS
.Pp
pancake <[email protected]>