File Fuzzer

By Peter O. – Public Domain – http://peteroupc.github.io/Fuzzer


This is a program that generates slightly altered versions of data files, for testing algorithms that parse file formats. It’s a command line utility.

Usage: Fuzzer.exe [fuzzer-xml]

fuzzer-xml is an XML file specifying configuration data. If not given, the fuzzer will read the file fuzzer.xml. It has the following XML format:

<fuzzer>
 <outputPath></outputPath>
 <validFilesPath></validFilesPath>
 <validFilesPattern></validFilesPattern>
 <startBytes></startBytes>
 <fileExtension></fileExtension>
 <fuzzOffset></fuzzOffset>
 <frequencyMean></frequencyMean>
 <frequencyStdDev></frequencyStdDev>
 <iterations></iterations>
</fuzzer>