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

Try to read the build id from the mapping file if reading from the process memory fails. #135

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

afranchuk
Copy link
Contributor

We could potentially generalize this behavior to occur for SONAME as well, however it's likely unnecessary.

Closes #134.

Copy link
Contributor

@gabrielesvelto gabrielesvelto left a comment

Choose a reason for hiding this comment

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

LGTM, I just left a nit

src/linux/sections/mappings.rs Outdated Show resolved Hide resolved
process memory fails.

We could potentially generalize this behavior to occur for SONAME as
well, however it's likely unnecessary.

Closes rust-minidump#134.
@gabrielesvelto gabrielesvelto merged commit 771cabf into rust-minidump:main Sep 6, 2024
16 checks passed
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.

Fall back to trying the file when retrieving the build id for a binary
2 participants