TotalDepth.util.PatternSearch (Search for Patterns in Binary Files)

Searches for runs of data in binary files.

Created on Oct 24, 2011

@author: paulross

TotalDepth.util.PatternSearch.reportAll(theFile, theS=<colorama.ansitowin32.StreamWrapper object>)

Print a histogram of byte values.

TotalDepth.util.PatternSearch.report0x80(theFile, theS=<colorama.ansitowin32.StreamWrapper object>, theMin=1, showTell=False)

Print a for 0x80.

TotalDepth.util.PatternSearch.reportIDENT(theFile, theS=<colorama.ansitowin32.StreamWrapper object>, theMin=2, showTell=False)

IDENT rep code: The valid character subset consists of null (0) plus the codes 33 0x21 (!) to 96 0x60 (`) and from 123 0x7b ({) to 126 0x7e (~) inclusive. This excludes all control characters, all “white space”, and the lower-case alphabet.