diff --git a/libafl_targets/src/drcov.rs b/libafl_targets/src/drcov.rs index d892a95554..2752cb7293 100644 --- a/libafl_targets/src/drcov.rs +++ b/libafl_targets/src/drcov.rs @@ -264,7 +264,7 @@ fn parse_path(s: &str) -> Option { return None } - Some(PathBuf::from(s.trim())) + Some(PathBuf::from(chars.as_str())) } impl DrCovReader { @@ -356,6 +356,8 @@ impl DrCovReader { return Err(err("path")); }; + log::error!("{path:?}"); + modules.push(DrCovModuleEntry { id, base,