Commit Graph

4 Commits

Author SHA1 Message Date
Erik Dubbelboer 48dd2d0ce7 Try fixing oss-fuzz running out of memory and skipping a lot 2024-01-30 08:01:06 +01:00
Erik Dubbelboer 287e3616ba Make Fuzz tests deterministic
From the Go docs:
- Fuzz targets should be fast and deterministic so the fuzzing engine can work efficiently, and new failures and code coverage can be easily reproduced.
- Since the fuzz target is invoked in parallel across multiple workers and in nondeterministic order, the state of a fuzz target should not persist past the end of each call, and the behavior of a fuzz target should not depend on global state.
2024-01-20 05:10:41 +01:00
Erik Dubbelboer c205a253b4 Put a limit on the max body size for fuzzing 2024-01-16 05:07:21 +01:00
Erik Dubbelboer a04cd8c39f Move Fuzz tests into their own file
This is required for https://github.com/google/oss-fuzz/pull/11453
2024-01-09 13:01:31 +01:00