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 01EC13858D1E for ; Tue, 14 Feb 2023 16:30:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 01EC13858D1E 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 EB8E230067DA for ; Tue, 14 Feb 2023 17:30:55 +0100 (CET) Received: by r6.localdomain (Postfix, from userid 1000) id A41A634035A; Tue, 14 Feb 2023 17:30:55 +0100 (CET) Message-ID: <029d751384a6bd1803bacc2067c369fdc8cfc6bb.camel@klomp.org> Subject: Re: [PATCH] libdw: Handle DW_OP_GNU_uninit in dwarf_getlocation From: Mark Wielaard To: elfutils-devel@sourceware.org Date: Tue, 14 Feb 2023 17:30:54 +0100 In-Reply-To: <20230210130112.1093665-1-mark@klomp.org> References: <20230210130112.1093665-1-mark@klomp.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.3 (3.46.3-1.fc37) MIME-Version: 1.0 X-Spam-Status: No, score=-3029.9 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 Fri, 2023-02-10 at 14:01 +0100, Mark Wielaard wrote: > dwarf_getlocation would return an error when it saw a > DW_OP_GNU_uninit. Handle it by simply recognizing as a no argument > operation. >=20 > DW_OP_GNU_uninit is emitted by GCC as a marker to flag the location > expression as referring to an uninitialized value. I pushed this. Cheers, Mark