From dec7e45f7c7e61a3778767bbc7f8e1e9a33b01fa Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sun, 4 Aug 2024 15:27:13 -0700 Subject: fuzzer web UI: receive coverage information * libfuzzer: track unique runs instead of deduplicated runs - easier for consumers to notice when to recheck the covered bits. * move common definitions to `std.Build.Fuzz.abi`. build runner sends all the information needed to fuzzer web interface client needed in order to display inline coverage information along with source code. --- lib/fuzzer/index.html | 1 + lib/fuzzer/main.js | 233 +++++++++++++++++++++++++++++------------------ lib/fuzzer/wasm/main.zig | 83 ++++++++++++++++- 3 files changed, 224 insertions(+), 93 deletions(-) (limited to 'lib/fuzzer') diff --git a/lib/fuzzer/index.html b/lib/fuzzer/index.html index dadc2f91d3..0753bcae67 100644 --- a/lib/fuzzer/index.html +++ b/lib/fuzzer/index.html @@ -124,6 +124,7 @@ +

Loading JavaScript...