RADIFF2(1)

NAME
RADIFF2 - unified binary diffing utility

SYNOPSIS
radiff2 [-abcCOdrspvh] [-t 0-100] [-g sym] file1 file2

DESCRIPTION
radiff2 implements many binary diffing algorithms for data and code.

-a  Specify architecture (x86, arm, ..)

-b  Select register size bits for given arch

-c  Count number of differences.

-C  Code diffing using graphdiff algorithm. Output columns are: file-a-address, percentatge of most similar function in B file | file-b-address.

-CC Perform a code diffing of all the functions. Run aac instead of just diffing the symbols.

-d  Use delta diffing (slower).

-g sym | off1,off2
    Graph diff output of given symbol, or between two functions, at given offsets: one for each binary.

-h  Show usage help message.

-n  Suppress address names (show only addresses) when code diffing.

-O  Do code diffing with all bytes instead of just the fixed opcode bytes

-p  Use physical addressing (io.va=0)

-r  Output in radare commands as a binary patch.

-s  Calculate text distance from two files.

-t 0-100
    Choose matching threshold for binary code diffing

-v  Show version information.

SEE ALSO

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

AUTHORS

pancake <pancake@nopcode.org>