Fuzzing
Fuzzing: testing with random and malformed data
Fuzzing is a testing method in which a program receives a huge number of malformed, unexpected or random inputs while the tester watches for crashes and incorrect behavior.
It is especially effective for parsers, protocols, file handlers and C/C++ code, where memory errors lead to vulnerabilities.
How it works
- Input generation: mutating samples or generating from a format description.
- Coverage-guided fuzzing: the tool keeps the inputs that open new code branches.
- Recording crashes, hangs and memory sanitizer reports.
Tools
AFL++libFuzzerOSS-FuzzRESTler (for APIs)