I want to fuzz-test a XML-parser and wonder if there are some appropriate fuzzers.
It would be nice not only generate random garbage, but take advantages of existing schema specification like XSD or DTD.
Fuzz testing or fuzzing is an automated software testing method that injects invalid, malformed, or unexpected inputs into a system to reveal software defects and vulnerabilities. A fuzzing tool injects these inputs into the system and then monitors for exceptions such as crashes or information leakage.
API fuzz testing is an automated testing method where random, invalid, distorted, or unexpected input is given to the API to see if any crashes or bugs emerge. The aim of fuzz testing is to identify unknown bugs and defects.
Fuzzing (also called fuzz testing) is a type of black box testing that submits random, malformed data as inputs into software programs to determine if they will crash.
Following are some XML fuzzers that I chanced upon, during a search several months back:
This might be what you consider "garbage generator", but I'll ask you to check it out anyhow.
Radamsa from Oulu University Secure Programming Group is free general purpose fuzzer. You can get fuzzing with it really easily. Give it some example files and Radamsa generates fuzzed files for you.
The different fuzzers included can do from simple bit flips to complex learning of the structure and fuzzing it.
The code can be found from Google Code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With