Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

run until end of LLVMFuzzerTestOneInput for collecting coverage #713

Merged
8 changes: 6 additions & 2 deletions src/agent/script/win64/libfuzzer-coverage/DumpCounters.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,12 @@ function dumpCounters(results_dir, should_disable_sympath) {
// Disable FCE from sanitizers.
execute("sxd av");

// Run to exit break in `ntdll!NtTerminateProcess`.
execute("g");
// run until LLVMFuzzerTestOneInput
bmc-msft marked this conversation as resolved.
Show resolved Hide resolved
execute("bm *!LLVMFuzzerTestOneInput")
execute("g")

// run until return from this context
execute("pt")

let found = false;
host.currentProcess.Modules.All(function (module) {
Expand Down