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

disable sympath in libfuzzer_coverage extraction unless it's set via target_env #222

Merged
merged 2 commits into from
Oct 28, 2020
Merged

disable sympath in libfuzzer_coverage extraction unless it's set via target_env #222

merged 2 commits into from
Oct 28, 2020

Conversation

bmc-msft
Copy link
Contributor

Summary of the Pull Request

Disables sympath used in cdb unless it's explicitly set via target_env. This significantly improves the runtime performance of sancov extraction.

Validation Steps Performed

Ran with onefuzz-agent.exe debug libfuzzer-coverage, once with --target_env _NT_SYMBOL_PATH=c:\symbols and once without. Note that without is significantly faster.

Follow on work

@@ -83,7 +83,14 @@ function processModule(module, results_dir) {
return true;
}

function dumpCounters(results_dir, sample_name) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note, sample_name was not provided by any of the users of this script and was only used to pass to a function that didn't have it as an argument.

@bmc-msft bmc-msft merged commit 36bae9e into microsoft:main Oct 28, 2020
@bmc-msft bmc-msft deleted the disable-sympath-if-not-set branch October 28, 2020 20:43
@ghost ghost locked as resolved and limited conversation to collaborators Apr 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants