Files
libwebp/tests
Vincent Rabaud 5465220b03 Add arbitrary data for the encoding fuzzers
Change-Id: Ia264e0edf742630f45d22670f5e1ead140036046
2025-11-24 16:16:18 +01: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