diff --git a/crates/symbolizer/examples/symbolize-dump.rs b/crates/symbolizer/examples/symbolize-dump.rs index 031e60f..104d1b1 100644 --- a/crates/symbolizer/examples/symbolize-dump.rs +++ b/crates/symbolizer/examples/symbolize-dump.rs @@ -5,7 +5,7 @@ use std::io::{self, Write}; use std::path::PathBuf; use anyhow::Result; -use clap::{Parser, Subcommand}; +use clap::Parser; use kdmp_parser::KernelDumpParser; use symbolizer::{AddrSpace, Builder, Module}; use udmp_parser::UserDumpParser; diff --git a/src/main.rs b/src/main.rs index f981941..b237502 100644 --- a/src/main.rs +++ b/src/main.rs @@ -323,7 +323,7 @@ fn main() -> Result<()> { // We need to parse the crash-dump to figure out where drivers / user-modules // are loaded at, and to read enough information out of the PE to download PDB // files ourselves. - let parser = KernelDumpParser::new(&crash_dump_path).context("failed to create dump parser")?; + let parser = KernelDumpParser::new(crash_dump_path).context("failed to create dump parser")?; // Figure out what is the symbol path we should be using. We will use the one // specified by the user, or will try to find one in the `_NT_SYMBOL_PATH`