odc(7) Atheros Powerline Toolkit odc(7)
NAME
odc - object driven compare
SYNOPSIS
odc [options] file file [>stdout]
DESCRIPTION
Compare two binary files, object by object, and print the objects that differ on stdout
for analysis. This program requires an object definition file that lists the length and
symbols for file objects.
OPTIONS
-f definitions
The name of the object definition file. This file lists the length, symbol and
description of individual objects in order of occurance. If this option is omitted
then object definitions are read from stdin. The file is not modified by this pro‐
gram. See the odd man page for an example of an object definition file.
-?,--help
Print program help summary on stdout. This option takes precedence over other
options on the command line.
-!,--version
Print program version information on stdout. This option takes precedence over
other options on the command line. Usethis option when sending screen dumps to
Atheros Technical Support so that they know exactly which version of the Linux
Toolkit you are using.
ARGUMENTS
file The name of a binary file. Two binary files are needed for comparison and both
should conform to the object definition file for the comarison to be meaningful.
EXAMPLES
The following example compares file abc.bin and def.bin and prints objects that are dif‐
ferent in hexdump format. Objects are defined in objects.txt and read using -f.
# odc -f objects.txt abc.bin def.bin
SEE ALSO
grab(7), odd(7), odx(7)
CREDITS
Nathan Houghton <nathan@brainwerk.org>
Charles Maier <cmaier@cmassoc.net>
int6000-utils-linux Atheros Communications odc(7)