Files
libwebp/tests
Philippe Antoine fdc81cebda fuzz: add allocations failures injections
nallocfuzz comes from https://github.com/catenacyber/nallocfuzz

Change-Id: Ia5be1ffd91cccca135927f0f43da04abc8194d27
2025-08-26 21:20:12 +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