Radiff2

Description

Radiff2 implements many binary diffing algorithms for data and code

Usage

Syntax

radiff2 [-abcCdrspOv] [-g sym] [-t %] [file] [file]

Options

  -a [arch]  specify architecture plugin to use (x86, arm, ..)
  -b [bits]  specify register size for arch (16 (thumb), 32, 64, ..)
  -c         count of changes
  -C         graphdiff code (columns: off-A, match-ratio, off-B)
  -d         use delta diffing
  -g [sym|off1,off2]   graph diff of given symbol, or between two offsets
  -O         code diffing with opcode bytes only
  -p         use physical addressing (io.va=0)
  -r         output in radare commands
  -s         compute text distance
  -t [0-100] set threshold for code diff (default is 70%)
  -v         show version information

Example

cyborg@cyborg:~$ radiff2 -C Downloads/STATIC.ELF Downloads/test
DWARF: version 4 is yet not supported
DWARF: version 4 is yet not supported
DWARF: version 4 is yet not supported
DWARF: version 4 is yet not supported
             fcn.00000000  0x0 |     NEW  (0.069444)
             fcn.00000098  0x98 |     NEW  (0.000000)
             fcn.00001041  0x1041 |     NEW  (0.000000)
             fcn.00001d42  0x1d42 |     NEW  (0.000000)
             fcn.00002986  0x2986 |     NEW  (0.000000)
             fcn.00002a9c  0x2a9c |     NEW  (0.000000)
             fcn.00003491  0x3491 |     NEW  (0.000000)
             fcn.00003494  0x3494 |     NEW  (0.194444)
             fcn.000034ba  0x34ba |     NEW  (0.100000)
               sym._start  0x400490 |     NEW  (0.071429)
sym.imp.__libc_start_main  0x400460 |     NEW  (0.000000)
             fcn.00400466  0x400466 |     NEW  (0.100000)
             sym.imp.free  0x400450 |     NEW  (0.100000)
             fcn.00400456  0x400456 |     NEW  (0.100000)
   sym.imp.__gmon_start__  0x400470 |     NEW  (0.000000)
             fcn.00400476  0x400476 |     NEW  (0.100000)
           sym.imp.malloc  0x400480 |     NEW  (0.000000)
             fcn.00400486  0x400486 |     NEW  (0.100000)
 sym.deregister_tm_clones  0x4004c0 |     NEW  (0.085106)
   sym.register_tm_clones  0x4004f0 |     NEW  (0.069444)
sym.__do_global_dtors_aux  0x400530 |     NEW  (0.055556)
          sym.frame_dummy  0x400550 |     NEW  (0.108696)
                 sym.main  0x40057d |     NEW  (0.069444)
      sym.__libc_csu_init  0x4005d0 |     NEW  (0.000000)
      sym.__libc_csu_fini  0x400640 |     NEW  (0.000000)
             fcn.00400642  0x400642 |     NEW  (0.000000)
             fcn.0040064d  0x40064d |     NEW  (0.000000)
                sym._init  0x400418 |     NEW  (0.138889)
             fcn.00400432  0x400432 |     NEW  (0.194444)

0 Comments

Leave a reply

CONTACT US

We're are building as a community and a team. Be a part of it.

Sending

©2018 Ztrela Knowledge Solutions Pvt. Ltd

Log in with your credentials

Forgot your details?