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 uapi bindings to elf.h #137

Merged
merged 2 commits into from
Dec 18, 2024
Merged

Add uapi bindings to elf.h #137

merged 2 commits into from
Dec 18, 2024

Conversation

yuki0iq
Copy link
Contributor

@yuki0iq yuki0iq commented Dec 17, 2024

NT_* constants were not exposed in elf module

Copy link
Owner

@sunfishcode sunfishcode left a comment

Choose a reason for hiding this comment

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

Looks good overall. Could you add a comment somewhere explaining the differences between the existing "elf" feature and module and this new one? The existing one is manually written because I didn't notice that Linux had an elf.h that we could generate bindings for, and the existing one has some mild abstractions like Elf_Rel which correspond to the *_Rel type for the target platform.

@sunfishcode sunfishcode merged commit d39794c into sunfishcode:main Dec 18, 2024
5 checks passed
@sunfishcode
Copy link
Owner

Thanks!

sunfishcode pushed a commit that referenced this pull request Jan 7, 2025
* Add uapi bindings to elf.h

* Add note on `elf_uapi` and `elf` differences
sunfishcode pushed a commit that referenced this pull request Jan 7, 2025
* Add uapi bindings to elf.h

* Add note on `elf_uapi` and `elf` differences
sunfishcode pushed a commit that referenced this pull request Jan 8, 2025
* Add uapi bindings to elf.h

* Add note on `elf_uapi` and `elf` differences
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