Closes #28971
- Split each harness into its own file
- Support compiling individual harness through
CPPFLAGS="-DFUZZ_HARNESS=<harness name>"
- Build individual binaries
The cumulative size of the individual binaries (compiled with LTO) is 3.6GB vs 14GB when search and replacing std::getenv("FUZZ")
(like we do in oss-fuzz).
TODOs:
- Introduce option for building individual binaries
- Simplify building individual binaries (i.e. don’t hard code each binary in
Makefile.test.include
) - Deal with
test/fuzz/{tx_pool, tx_package_eval, deserialize}.cpp
- Introduce a “one harness per file” linter