mirror of
https://github.com/webmproject/libwebp.git
synced 2025-01-26 06:32:54 +01:00
9ce982fdf2
- the tests now build/run/check_build with libfuzzer on oss-fuzz - centipede is removed as it builds/runs but do not check_build (timeout due to arguments not parsed correctly) Bug: oss-fuzz:69508 Change-Id: Id063565fc4cce02fc5e36c7d8499d6de9ff54345
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