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

Include "module" information in Sym type #1039

Merged
merged 3 commits into from
Mar 4, 2025

Conversation

danielocfb
Copy link
Collaborator

Please see individual commits for descriptions.

d-e-s-o added 3 commits March 3, 2025 16:36
Adjust the Breakpad parser to properly parse "MODULE" lines and store
the mentioned module. With upcoming changes we intend to expose the
module that a symbol belongs to through the symbolization APIs.

Signed-off-by: Daniel Müller <deso@posteo.net>
So far the library has not exposed the binary file that a symbol resides
in. With this change we introduce the symbolize::Sym::module member to
provide this information.

Signed-off-by: Daniel Müller <deso@posteo.net>
Add the module attribute to the blaze_sym struct, providing access to
the module information that we previously added to the Rust API from C.

Signed-off-by: Daniel Müller <deso@posteo.net>
@danielocfb danielocfb force-pushed the topic/module branch 2 times, most recently from 6f0c144 to 3ff7307 Compare March 4, 2025 18:55
@danielocfb danielocfb requested a review from anakryiko March 4, 2025 18:56
@danielocfb
Copy link
Collaborator Author

I'll go ahead and merge this to unblock follow-on work, but feel free to leave comments and I'll address them, Andrii.

@danielocfb danielocfb merged commit 285b17f into libbpf:main Mar 4, 2025
42 checks passed
@danielocfb danielocfb deleted the topic/module branch March 4, 2025 19:19
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