libwebp/tests
devtools-clrobot@google.com ad14e811cf tests/fuzzer/*: add missing <string_view> include
Bug: webp:380121350
Change-Id: Ie0910165600317ed8c94305f0a793282e02e1c99
2024-12-19 12:31:52 -08:00
..
fuzzer tests/fuzzer/*: add missing <string_view> include 2024-12-19 12:31:52 -08:00
README.md Switch public fuzz tests to fuzztest. 2024-06-05 14:08:27 +02:00

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