Goal
Add a libFuzzer fuzz target exercising push() and propagation paths.
Setup
The CMake scaffold already exists, gated behind ANYHOW_BUILD_FUZZ:
option(ANYHOW_BUILD_FUZZ "Build libFuzzer fuzz targets (requires clang + -fsanitize=fuzzer)" OFF)
Work remaining
- Write
tests/fuzz_anyhow.cpp with a LLVMFuzzerTestOneInput entry point
- Exercise
fail(), push(), context(), downcast() on fuzz-generated input
- Gate in CI behind a separate clang job with
-fsanitize=fuzzer,address,undefined
Goal
Add a libFuzzer fuzz target exercising
push()and propagation paths.Setup
The CMake scaffold already exists, gated behind
ANYHOW_BUILD_FUZZ:Work remaining
tests/fuzz_anyhow.cppwith aLLVMFuzzerTestOneInputentry pointfail(),push(),context(),downcast()on fuzz-generated input-fsanitize=fuzzer,address,undefined