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

Ensure version info is present in core dumps #272

Open
wesgarland opened this issue Mar 9, 2024 · 0 comments
Open

Ensure version info is present in core dumps #272

wesgarland opened this issue Mar 9, 2024 · 0 comments
Assignees

Comments

@wesgarland
Copy link
Collaborator

wesgarland commented Mar 9, 2024

Describe your feature request here.

I'd like to be able to inspect core dumps and know what git revision (or pythonmonkey version) they were created with, so that we have a chance of associating them with a right-enough dso in the debugger, even when symbols are stripped.

I'm thinking that an $Id$ string for ident(1) buried in the dso as a static __attribute__((unused)) char[] and then strdup'd at program startup will likely do the trick.

Interested in hearing other solutions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready To Do
Development

No branches or pull requests

2 participants