Skip to content

Commit

Permalink
use the right str...
Browse files Browse the repository at this point in the history
  • Loading branch information
rmalmain committed Jan 22, 2025
1 parent c80bd46 commit 495fb18
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libafl_targets/src/drcov.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ fn parse_path(s: &str) -> Option<PathBuf> {
return None
}

Some(PathBuf::from(s.trim()))
Some(PathBuf::from(chars.as_str()))
}

impl DrCovReader {
Expand Down Expand Up @@ -356,6 +356,8 @@ impl DrCovReader {
return Err(err("path"));
};

log::error!("{path:?}");

modules.push(DrCovModuleEntry {
id,
base,
Expand Down

0 comments on commit 495fb18

Please sign in to comment.