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
Handle pie executables on Linux #59
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Just a few nitpicks which can be addressed later.
@@ -277,3 +280,132 @@ impl Dwarf { | |||
self.rent(|parsed| parsed.get_var_address(name)) | |||
} | |||
} | |||
|
|||
pub struct RelocatedDwarf(Vec<RelocatedDwarfEntry>); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This struct probably can be moved into its own module, but can be done later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do this later.
Co-authored-by: Nikita Baksalyar <nikita.baksalyar@gmail.com>
Raised rust-lang/libc#1849 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you!
Fixes #51