radare2/man/radiff2.1

61 lines
1.4 KiB
Groff
Raw Normal View History

2014-09-30 11:01:45 +02:00
.Dd May 11, 2014
.Dt RADIFF2 1
2014-09-30 11:37:26 +02:00
.Sh NAME
.Nm RADIFF2
.Nd unified binary diffing utility
.Sh SYNOPSIS
.Nm radiff2
2014-03-19 10:33:00 +01:00
.Op Fl abcCOdrspvh
2011-12-02 03:43:08 +01:00
.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
2014-03-19 10:33:00 +01:00
.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.
2015-04-07 04:12:18 +02:00
.It Fl CC
Perform a code diffing of all the functions. Run aac instead of just diffing the symbols.
2011-12-02 03:43:08 +01:00
.It Fl d
Use delta diffing (slower).
2014-08-19 02:47:41 +02:00
.It Fl g Ar sym | off1,off2
Graph diff output of given symbol, or between two functions, at given offsets: one for each binary.
.It Fl h
Show usage help message.
.It Fl n
Suppress address names (show only addresses) when code diffing.
.It Fl O
Do code diffing with all bytes instead of just the fixed opcode bytes
.It Fl p
Use physical addressing (io.va=0)
.It Fl r
Output in radare commands as a binary patch.
2011-12-02 03:43:08 +01:00
.It Fl s
Calculate text distance from two files.
.It Fl t Ar 0\-100
Choose matching threshold for binary code diffing
2011-12-02 03:43:08 +01:00
.It Fl v
Show version information.
.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 <pancake@nopcode.org>