mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-25 13:18:22 +01:00
b78d39571f
oss-fuzz does not support dynamic libraries so we stick to static. But libtiff.a has undefined symbols on Ubuntu, so we have to disable TIFF. Change-Id: Ibd1932f5780a0af51b6b398ae6415eed8685a0be |
||
---|---|---|
.. | ||
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