Skip to content

Commit

Permalink
Remove debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Sutton Bradley (HE/HIM) committed Aug 24, 2023
1 parent 5f93c26 commit 5afdb87
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/pe/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,17 +212,13 @@ impl<'a> PE<'a> {
if let Some(exception_table) =
*optional_header.data_directories.get_exception_table()
{
debug!("about to parse exception data");
exception_data = Some(exception::ExceptionData::parse_with_opts(
bytes,
exception_table,
&sections,
file_alignment,
opts,
)?);
debug!("successfully parsed exception data");
} else {
debug!("exception_table is None, skipping attempt to parse exception data");
}
}

Expand All @@ -236,13 +232,11 @@ impl<'a> PE<'a> {
if let Some(certificate_table) =
*optional_header.data_directories.get_certificate_table()
{
debug!("about to enumerate_certificates");
certificates = certificate_table::enumerate_certificates(
bytes,
certificate_table.virtual_address,
certificate_table.size,
)?;
debug!("successfully enumerated certificates");

let start = certificate_table.virtual_address as usize;
let end = start + certificate_table.size as usize;
Expand Down

0 comments on commit 5afdb87

Please sign in to comment.