fuzzitdev / jsfuzz

coverage guided fuzz testing for javascript
https://gitlab.com/gitlab-org/security-products/analyzers/fuzzers/jsfuzz
Apache License 2.0
605 stars 48 forks source link

Add xml fuzzer #11

Closed bookmoons closed 4 years ago

bookmoons commented 4 years ago

Adds an XML format fuzzer targeting the xml2js module.

The go-fuzz xml fuzzer runs a few times with different options. xml2js seems not to have those options so I've left that bit out. This fuzzer does a single decode of an XML string each iteration.

Closes #6.

bookmoons commented 4 years ago

I conformed this to StandardJS. Is that an acceptable code style?