Fix #602 - Radiff2 -C should display a legend

This commit is contained in:
pancake 2014-02-18 15:39:06 +01:00
parent e82b9473ec
commit 5b4f0db2e5
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* radare - LGPL - Copyright 2009-2013 - pancake */
/* radare - LGPL - Copyright 2009-2014 - pancake */
#include <r_diff.h>
#include <r_core.h>
@ -74,7 +74,7 @@ static int show_help(int v) {
if (v) printf (
// " -l diff lines of text\n"
" -c count of changes\n"
" -C graphdiff code\n"
" -C graphdiff code (columns: off-A, match-ratio, off-B)\n"
" -d use delta diffing\n"
" -g [sym] graph diff of given symbol\n"
" -O code diffing with opcode bytes only\n"

View File

@ -1,7 +1,7 @@
.TH RADIFF2 1
.SH NAME
radiff2 \- unified binary diffing utility
.Dd Nov 11, 2013
.Dd Feb 18, 2014
.Pp
.Sh SYNOPSIS
.Nm radiff2
@ -17,7 +17,7 @@ radiff2 implements many binary diffing algorithms for data and code.
.It Fl c
Count number of differences.
.It Fl C
Graphdiff code instead of data
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