Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding type index and disabling warns and debug statements #3

Merged
merged 2 commits into from
Oct 18, 2022

Conversation

malware-unicorn
Copy link
Contributor

Adding type_index to procedure symbol and disabling warns and debug statements.

Adding type_index to procedure symbol and disabling debug statements

[patch.crates-io]
pdb = { git = "https://github.com/landaire/pdb"}
[package]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like just a whitespace change? LF -> CRLF? Could you remove this from the PR if so?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, reverted this.

@@ -22,7 +22,7 @@ pub fn parse_pdb<P: AsRef<Path>>(
base_address: Option<usize>,
) -> Result<ParsedPdb, crate::error::Error> {
let file = File::open(path.as_ref())?;
debug!("opening PDB");
//debug!("opening PDB");
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I kind of did a side channel here to figure out why this was needed. The debug logic is necessary for debugging my own issues in another tool. If you don't want it, you should configure the logger you're using to filter out this module/crate: https://docs.rs/env_logger/latest/env_logger/struct.Builder.html#method.filter_module

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted the changes here, will use the env_logger fix.

@landaire landaire merged commit 5a24880 into landaire:master Oct 18, 2022
@landaire
Copy link
Owner

@malware-unicorn thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants