[Bug libelf/34468] elf_update() with ELF_C_RDWR can overwrite gaps between sections
bmenrigh at brandonenright dot net
sourceware-bugzilla@sourceware.org
Tue Aug 11 02:40:41 GMT 2026
https://sourceware.org/bugzilla/show_bug.cgi?id=34468
--- Comment #1 from Brandon Enright <bmenrigh at brandonenright dot net> ---
While looking into the possibility of working around this bug by switching
debugedit to us the ELF_C_RDWR_MMAP writer, we ran into correctness issues with
that writer too.
See attachment 968690 in the linked Gentoo bug.
It seems that when section headers get relocated, not all of the headers are
properly marked as dirty and written back with the MMAP writer.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Debugedit
mailing list