From 985963008b0544239a17e0f085eb6c83c75d7bdb Mon Sep 17 00:00:00 2001 From: TJ Date: Tue, 26 Oct 2010 06:19:11 +0100 Subject: [PATCH] Include a description --- README | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 README diff --git a/README b/README new file mode 100644 index 0000000..bc3d007 --- /dev/null +++ b/README @@ -0,0 +1,18 @@ +binmatch performs a binary-matching search for the file in the file , +reporting the offset of in for each occurance. + +Offsets are reported in hexadecimal unless the "-d" decimal option is used. + +Program information messages are written to stderr to avoid confusing the matching address +reports that are written to stdout. This allows the program to be used with pipes and further filters. + +The program uses memory-mapped files to make the search as efficient as possible. + +Usage: ./binmatch: [-d] -n -h + -d print matching addresses in decimal not hexadecimal + -n path to the file containing the needle + -h path to the file containing the haystack + + Information messages are written to stderr and only matches are written to stdout. + This allows the output to be piped through other filters. + -- 2.17.1