mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-19 20:08:28 +01:00
f2fe8decce
Also do not restrict the oss-fuzz script to libfuzzer: this allows new fuzzer engines to try the script as is. The libfuzzer restriction is done upstream anyway. Bug: oss-fuzz:69508 Change-Id: I15685bc7193bef3b9ccb0e0a30a6262e7bfb6fb9 |
||
---|---|---|
.. | ||
fuzzer | ||
README.md |
Tests
This is a collection of tests for the libwebp libraries, currently covering fuzzing through the APIs. Additional test vector coverage can be found at: https://chromium.googlesource.com/webm/libwebp-test-data
Building
Fuzzers
Follow the build instructions for libwebp, optionally adding build flags for various sanitizers (e.g., -fsanitize=address).
-DWEBP_BUILD_FUZZTEST=ON
can then be used to compile the fuzzer targets:
$ cmake -B ./build -S . -DWEBP_BUILD_FUZZTEST=ON
$ make -C build