Skip to content

Conversation

@marti4d
Copy link
Collaborator

@marti4d marti4d commented Jul 16, 2024

If the crashed process supports it, it can directly pass in the needed values from the auxiliary vector to avoid potential issues where "/proc/{pid}/auxv" can't be accessed on Android.

If the information is not passed in (or is incomplete), the code will attempt to fill in any gaps from the auxv file. If any of this fails, it will now just log a warning message and continue writing the minidump.

Fixes #27

@marti4d marti4d requested a review from Jake-Shadle July 22, 2024 23:33
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 too, @marti4d is this ready for merging?

@marti4d
Copy link
Collaborator Author

marti4d commented Aug 6, 2024

@gabrielesvelto It is! And the sooner, the better, since I'm going to have to get this vendored into M-C so the C++ part of my change can use it :)

@gabrielesvelto gabrielesvelto merged commit 6f93cb2 into rust-minidump:main Aug 6, 2024
@marti4d marti4d deleted the improve_auxv branch September 20, 2024 14:30
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.

Improve handling of the auxiliary vector on Linux

3 participants