[Bug debugedit/31504] debugedit writes out ELF file even when nothing has been updated

jamin.collins at gmail dot com sourceware-bugzilla@sourceware.org
Mon Apr 29 19:59:56 GMT 2024


https://sourceware.org/bugzilla/show_bug.cgi?id=31504

Jamin Collins <jamin.collins at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jamin.collins at gmail dot com

--- Comment #9 from Jamin Collins <jamin.collins at gmail dot com> ---
why not simply have debugedit detect (or watch) whether it has accounted for
the full file contents.  If it has, great, do its thing.  If it has not, leave
the file untouched/altered.

If in the course of doing its work, debugedit does not account for the full
file contents, then the file is (as has been indicated) not a proper spec
conforming ELF file.  As such, debugedit (and other ELF tools) should probably
leave the file as-is, unless explicitly told otherwise (perhaps an additional
flag).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Debugedit mailing list