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

read/pe: style changes for resource parsing #427

Merged
merged 1 commit into from
Feb 17, 2022

Conversation

philipc
Copy link
Contributor

@philipc philipc commented Feb 16, 2022

No major changes here, mostly just reorganizing or renaming for consistency and to fit my mental model: the resource section is a directory that contains a tree of tables and data entries.

I removed language_code because it's the same as name_or_id().id(), but let me know if you still want it.

cc @Guiguiprim

Copy link
Contributor

@Guiguiprim Guiguiprim left a comment

Choose a reason for hiding this comment

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

Over all, I'm fine with your modifications. It does look cleaner.

crates/examples/src/readobj/pe.rs Outdated Show resolved Hide resolved
src/read/pe/resource.rs Show resolved Hide resolved
@philipc philipc merged commit 3ff2b10 into gimli-rs:master Feb 17, 2022
@philipc philipc deleted the pe-resource branch February 17, 2022 05:58
Guiguiprim pushed a commit to JustRustThings/object that referenced this pull request Feb 21, 2022
mcbegamerxx954 pushed a commit to mcbegamerxx954/object that referenced this pull request Jun 15, 2024
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