mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-15 19:38:11 +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.
|
// Disable FCE from sanitizers.
|
||||||
execute("sxd av");
|
execute("sxd av");
|
||||||
|
|
||||||
// Run to exit break in `ntdll!NtTerminateProcess`.
|
// Run until `LLVMFuzzerTestOneInput()`.
|
||||||
execute("g");
|
// 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;
|
let found = false;
|
||||||
host.currentProcess.Modules.All(function (module) {
|
host.currentProcess.Modules.All(function (module) {
|
||||||
|
Reference in New Issue
Block a user