Scroll to navigation

RADIFF2(1) General Commands Manual RADIFF2(1)

NAME

RADIFF2
unified binary diffing utility

SYNOPSIS

radiff2 [-AabcCdDhOrspxv] [-t 0-100] [-g sym] [-S algo] file1 file2

DESCRIPTION

radiff2 implements many binary diffing algorithms for data and code.
Analyze binary after loading it with RCore (see -C) and use -AA to run aaaa instead of aaa.
Specify architecture (x86, arm, ..)
Select register size bits for given arch
Count number of differences.
Code diffing using graphdiff algorithm. Output columns are: file-a-address, percentatge of most similar function in B file | file-b-address. (Use with -A to analyze the binaries to find more functions)
Use delta diffing (slower).
Show disasm instead of hexpairs (honors -a arch and -b bits)
sym | off1,off2
Graph diff output of given symbol, or between two functions, at given offsets: one for each binary.
Show usage help message.
Suppress address names (show only addresses) when code diffing.
Do code diffing with all bytes instead of just the fixed opcode bytes
Use physical addressing (io.va=0)
Output in radare commands as a binary patch.
Show two column hexdump diffing.
Calculate text distance from two files.
Same as before but using the Levenstein algorithm (faster but sometimes buggy)
[name, namelen, dist, size, ...]
Specify which column of the code diffing algo use for diffing
0-100
Choose matching threshold for binary code diffing
Show version information.
Be verbose sometimes

SEE ALSO

radare2(1), rafind2(1), rahash2(1), rabin2(1), rasm2(1), ragg2(1), rarun2(1), rax2(1),

AUTHORS

pancake <pancake@nopcode.org>
September 21, 2016