Skip to content

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