Libxml2 is the XML C parser and toolkit. It is developed for the Gnome project but is also used outside it. The fuzzer parses an XML in-memory document and builds a tree. Then it frees memory used by document and then it cleans up memory allocated by the library itself.
What is included?
libxml2-fuzzer.cc-stub to act as the interface between the
libfuzzerand the test target
build.sh-script to build the library, and the stub and to link them with the fuzzer
Dockerfileto automate build of Docker image
Samplesto provide sample files to get started with
docker-compose build libxml2
Starting the container
docker-compose run libxml2
Samples.tar.gz contains samples from XML test suite.