mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-25 13:18:22 +01:00
ea0e121b6a
fuzztest is compatible with libfuzzer in compatibility mode, and fully compatible with centipede by default. Change-Id: I0c8e636df642dede16d394d678008c5e064094b3 |
||
---|---|---|
.. | ||
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