Skip to content

Conversation

@GiuseppeCesarano
Copy link
Contributor

Following #24691’s footsteps, this patch implements the buffer version of the dynamic section iterator.

@GiuseppeCesarano
Copy link
Contributor Author

@andrewrk I’d like to get your opinion on using the iterate*Buffer functions to implement iteration over program headers, sections, and dynamic sections in std.debug.ElfFile.

Or even, build on these functions to create something that automatically resolves offsets and related details.

@alexrp alexrp enabled auto-merge (rebase) November 26, 2025 08:35
@GiuseppeCesarano
Copy link
Contributor Author

@alexrp feel free to weigh in on my earlier question if you want. I tagged Andrew because I noticed he has been working on std.elf.

I would mainly like to know whether a PR in this direction would be desired

@alexrp alexrp merged commit 0b5b35c into ziglang:master Nov 26, 2025
9 checks passed
@GiuseppeCesarano GiuseppeCesarano deleted the elf branch November 26, 2025 11:33
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