From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gnu.wildebeest.org (gnu.wildebeest.org [45.83.234.184]) by sourceware.org (Postfix) with ESMTPS id EA1283858D32 for ; Mon, 16 Jan 2023 19:39:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EA1283858D32 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=klomp.org Received: from r6.localdomain (82-217-174-174.cable.dynamic.v4.ziggo.nl [82.217.174.174]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id DDC3B302BBEC; Mon, 16 Jan 2023 20:39:33 +0100 (CET) Received: by r6.localdomain (Postfix, from userid 1000) id D89A034025D; Mon, 16 Jan 2023 20:39:32 +0100 (CET) Message-ID: <9045b97418667c1336023691da0550b3b621f8ee.camel@klomp.org> Subject: Re: [PATCH] readelf: Check compression status of .debug section data From: Mark Wielaard To: elfutils-devel@sourceware.org Cc: Martin =?UTF-8?Q?Li=C5=A1ka?= Date: Mon, 16 Jan 2023 20:39:32 +0100 In-Reply-To: <20230110174457.524148-1-mark@klomp.org> References: <20230110174457.524148-1-mark@klomp.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.2 (3.46.2-1.fc37) MIME-Version: 1.0 X-Spam-Status: No, score=-3030.4 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,RCVD_IN_BARRACUDACENTRAL,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi, On Tue, 2023-01-10 at 18:44 +0100, Mark Wielaard wrote: > The various print_debug_*_section functions didn't get the section > data in the same way. Add a new get_debug_elf_data function that > gets the (possibly relocated) section data and that checks (and > warns) if the data might still be compressed in a way that we > cannot decompress. Pushed. Cheers, Mark