RADIFF2(1) BSD General Commands Manual RADIFF2(1)NAME
radiff2 -- unified binary diffing utility
SYNOPSIS
radiff2 [-cCOdrspvh] [-t 0-100] [-g sym] file1 file2
DESCRIPTION
radiff2 implements many binary diffing algorithms for data and code.
-c Count number of differences.
-C Graphdiff code instead of data
-O Do code diffing with all bytes instead of just the fixed opcode bytes
-t 0-100 Choose matching threshold for binary code diffing
-d Use delta diffing (slower).
-g sym Graph diff output of given symbol
-r Output in radare commands as a binary patch.
-s Calculate text distance from two files.
-p Use physical addressing (io.va=0)
-v Show version information.
-h Show usage help message.
SEE ALSO radare2(1), rafind2(1), rahash2(1), rabin2(1), ranal2(1), rasm2(1), ragg2(1), rarun2(1), rax2(1),
AUTHORS
pancake <pancake@nopcode.org>, nibble <nibble@develsec.org>
BSD Oct 20, 2011 BSD
Check Out this Related Man Page
RASM2(1) BSD General Commands Manual RASM2(1)NAME
rasm2 -- radare2 patch assembler and disassembler
SYNOPSIS
rasm2 [-dDfBCLev] [-F in:out] [-o offset] [-a arch] [-b bits] [-s syntax] [-l int] [ARG]
DESCRIPTION
TODO: This manpage is incomplete.
-d Disassemble hexpair bytes. rasm2 -d 9090
-D Disassemble showing hexpair and opcode
-f Read data from file instead of ARG.
-F in:out pecify input and/or output filters (att2intel, x86.pseudo, ...)
-o offset Offset of the opcode to assemble
-a arch Set architecture plugin
-b bits Set architecture bits
-s syntax Select syntax output (intel, att)
-B Binary input/output (-l is mandatory for binary input)
-l int Input/Output length
-C Output in C format
-L List supported asm plugins
-e Use big endian
-h
Show usage help message.
SEE ALSO radare2(1), rafind2(1), rahash2(1), rabin2(1), ranal2(1), radiff2(1), ragg2(1), rarun2(1), rax2(1),
AUTHORS
pancake <pancake@nopcode.org>, nibble <nibble@develsec.org>
BSD Mar 11, 2010 BSD
Hi all,
Does anybody know or guide me on how to remove the first N bytes and the last N bytes from a binary file? Is there any AWK or SED or any command that I can use to achieve this?
Your help is greatly appreciated!!
Best Regards,
Naveen. (1 Reply)
I am working in C and need a solution for below problem:
I have a binary file, which needs to be edited in such a way no data is loss.
For example i have to insert 3 bytes of data at some position without changing the contents of the file.
if file has data as:... (2 Replies)