Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Fuzz testing or
fuzzing is a software testing technique, often automated or
semi-automated, that involves providing invalid, unexpected, or random
data to the inputs of a computer program. The program is then monitored
for exceptions such as crashes or failing built-in code assertions.
Fuzzing is commonly used to test for security problems in software or
computer systems. The term first originates from a class project at the
University of Wisconsin 1988 although similar techniques have been used
in the field of quality assurance, where they are referred to as
robustness testing, syntax testing or negative testing. There are two
forms of fuzzing program; mutation-based and generation-based, which can
be employed as white-, grey- or black-box testing. File formats and
network protocols are the most common targets of testing, but any type
of program input can be fuzzed. Interesting inputs include environment
variables, keyboard and mouse events, and sequences of API calls. Even
items not normally considered "input" can be fuzzed, such as the
contents of databases, shared memory, or the precise interleaving of
threads.