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

Add VMCOREINFO to Linux special objects #316

Merged
merged 2 commits into from
Aug 19, 2023

Conversation

brenns10
Copy link
Contributor

No description provided.

@brenns10
Copy link
Contributor Author

(No difference except rebasing on main so I can rebase my upcoming symbol PR on top of it)

Copy link
Owner

@osandov osandov left a comment

Choose a reason for hiding this comment

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

Some style nits, but this looks good, thanks!

libdrgn/drgn_program_parse_vmcoreinfo.inc.strswitch Outdated Show resolved Hide resolved
libdrgn/linux_kernel_object_find.inc.strswitch Outdated Show resolved Hide resolved
libdrgn/program.h Outdated Show resolved Hide resolved
For Python-based object, type, and symbol finders, the vmcoreinfo is a
critical source of information. It can contain addresses necessary for
loading certain information (such as kallsyms). Expose this information
as a special object.

Signed-off-by: Stephen Brennan <[email protected]>
@osandov osandov merged commit 8a63d17 into osandov:main Aug 19, 2023
39 checks passed
@brenns10 brenns10 deleted the vmcoreinfo_object branch August 19, 2023 05:31
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