mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-15 11:28:09 +00:00
run until end of LLVMFuzzerTestOneInput for collecting coverage (#713)
This commit is contained in:
@ -98,8 +98,14 @@ 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()`.
|
||||
// This makes us unlikely to have unloaded any modules that the user dynamically loaded,
|
||||
// and so we will still be able to dump the coverage tables for those modules.
|
||||
execute("bm *!LLVMFuzzerTestOneInput")
|
||||
execute("g")
|
||||
|
||||
// run until return from this context
|
||||
execute("pt")
|
||||
|
||||
let found = false;
|
||||
host.currentProcess.Modules.All(function (module) {
|
||||
|
Reference in New Issue
Block a user