aboutsummaryrefslogtreecommitdiff
path: root/src/zig_llvm.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2025-02-11 11:54:12 -0800
committerAndrew Kelley <andrew@ziglang.org>2025-02-11 13:39:20 -0800
commitd789f1e5cf60b063d5140c27926fd1a6b1654356 (patch)
treeb9323c389b8bac7930df6e30fa274fdfada1ff10 /src/zig_llvm.cpp
parent31c132081857b126524ccd261da331c9b1bda856 (diff)
downloadzig-d789f1e5cf60b063d5140c27926fd1a6b1654356.tar.gz
zig-d789f1e5cf60b063d5140c27926fd1a6b1654356.zip
fuzzer: write inputs to shared memory before running
breaking change to the fuzz testing API; it now passes a type-safe context parameter to the fuzz function. libfuzzer is reworked to select inputs from the entire corpus. I tested that it's roughly as good as it was before in that it can find the panics in the simple examples, as well as achieve decent coverage on the tokenizer fuzz test. however I think the next step here will be figuring out why so many points of interest are missing from the tokenizer in both Debug and ReleaseSafe modes. does not quite close #20803 yet since there are some more important things to be done, such as opening the previous corpus, continuing fuzzing after finding bugs, storing the length of the inputs, etc.
Diffstat (limited to 'src/zig_llvm.cpp')
0 files changed, 0 insertions, 0 deletions