Fuzz targets for the preprocessor and the compiler #16
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
Reference
jeff/zixl#16
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
Part of #1
What to build
Fuzz targets on Zig's built-in fuzzer for preprocessing and for compiling, with a seed corpus drawn from the test fixtures. Any input either produces a result or diagnostics; none panics, leaks or hangs.
Acceptance criteria
zig build fuzz --fuzzfuzzes both targets, with coverage (test binaries built with LLVM).zig build test.Done in
591e638(CI run 12 green), with the bound lowered to 10K in the commit after.Smith.slicereads it. The corpus runs as ordinary tests underzig build test, andtests/fuzz/regressions.zigis where a found input goes.