From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EACF03858414; Mon, 29 Apr 2024 19:59:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EACF03858414 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1714420797; bh=ap5zN8g7WC+IvRHTe+/mqdbuw+cnSGspzJplcPRWllY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=EkJJRmVdsrH9cFqcBAstooxcoRiOi/h/PbJ79X2A4i5QP/UPfeDQIPoNN5JUy/ebP 84QU+7WCX8z5R/W1O7Q69npdV3Pe4rDfzKUb4CfjncH9oRz1yBDdVP407nAVUdO05Y Y9ODNHaqFmoGHRnSEJspvzC4k1geRRPDpSR/VM1M= From: "jamin.collins at gmail dot com" To: debugedit@sourceware.org Subject: [Bug debugedit/31504] debugedit writes out ELF file even when nothing has been updated Date: Mon, 29 Apr 2024 19:59:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: debugedit X-Bugzilla-Component: debugedit X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jamin.collins at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31504 Jamin Collins changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jamin.collins at gmail dot= com --- Comment #9 from Jamin Collins --- 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, le= ave 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 proba= bly leave the file as-is, unless explicitly told otherwise (perhaps an addition= al flag). --=20 You are receiving this mail because: You are on the CC list for the bug.=