disable sympath unless it's set via target_env (#222)

This commit is contained in:
bmc-msft
2020-10-28 16:43:00 -04:00
committed by GitHub
parent 640091f8bc
commit 36bae9e649
2 changed files with 14 additions and 4 deletions

View File

@ -128,10 +128,13 @@ impl CoverageRecorder {
.join("libfuzzer-coverage")
.join("DumpCounters.js");
let should_disable_sympath = !self.config.target_env.contains_key("_NT_SYMBOL_PATH");
let cdb_cmd = format!(
".scriptload {}; !dumpcounters {:?}; q",
".scriptload {}; !dumpcounters {:?}, {}; q",
script_path.to_string_lossy(),
output.to_string_lossy()
output.to_string_lossy(),
should_disable_sympath,
);
let mut cmd = Command::new("cdb.exe");