Skip to content

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

Merged
gabrielesvelto merged 1 commit into
rust-minidump:mainfrom
afranchuk:buildid-fallback
Sep 6, 2024
Merged

Try to read the build id from the mapping file if reading from the process memory fails.#135
gabrielesvelto merged 1 commit into
rust-minidump:mainfrom
afranchuk:buildid-fallback

Conversation

@afranchuk

Copy link
Copy Markdown
Contributor

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

Closes #134.

@gabrielesvelto gabrielesvelto left a comment

Copy link
Copy Markdown
Contributor

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

Comment thread src/linux/sections/mappings.rs Outdated
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
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