From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id cNflFV9sOWRXsCsAWB0awg (envelope-from ) for ; Fri, 14 Apr 2023 11:08:15 -0400 Received: by simark.ca (Postfix, from userid 112) id 4CB5B1E221; Fri, 14 Apr 2023 11:08:15 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=EFZbhsM4; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,NICE_REPLY_A, RCVD_IN_DNSWL_MED,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id E38F81E0D3 for ; Fri, 14 Apr 2023 11:08:14 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 2065F385783F for ; Fri, 14 Apr 2023 15:08:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2065F385783F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1681484894; bh=G7fERYqy3pEFH71IGLz6c+owIOROo29oaCKKq1GTZ+c=; h=Date:Subject:To:Cc:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=EFZbhsM4eFG8XfuLZPsDhzAF1I0+igfkPpL1/qZy5mzlzj/oG20KGYtxi+vUGWKsy nN5++OqEZTDQHoNg5ES2KDHcWlas7GSrnuWwve0zX+h3JSva1rIwN+CS5++9GLKfS1 aQOtZC1X7Bo9mbH+Oo3ZkkkJp3SPiXDlm6bihyAM= Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by sourceware.org (Postfix) with ESMTP id 030FA3858439; Fri, 14 Apr 2023 15:07:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 030FA3858439 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 490B72F4; Fri, 14 Apr 2023 08:08:31 -0700 (PDT) Received: from [10.2.78.76] (unknown [10.2.78.76]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1A17C3F6C4; Fri, 14 Apr 2023 08:07:45 -0700 (PDT) Message-ID: Date: Fri, 14 Apr 2023 16:07:44 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: Threat model for GNU Binutils Content-Language: en-GB To: Siddhesh Poyarekar , Binutils Mailing List , gdb@sourceware.org Cc: Nick Clifton References: <032c1307-c143-3f2c-0502-683d966f0257@foss.arm.com> <78f3e6a6-dec2-3aa2-d1b6-935d842add1e@gotplt.org> In-Reply-To: <78f3e6a6-dec2-3aa2-d1b6-935d842add1e@gotplt.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Richard Earnshaw via Gdb Reply-To: Richard Earnshaw Errors-To: gdb-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb" On 14/04/2023 15:08, Siddhesh Poyarekar wrote: > There's also a (rare) possibility of an infrequently used instruction > having incorrect opcode mapping, resulting in a bug being masked when > dumped with objdump or resulting code having undefined behaviour. The best way to deal with this risk is to run test binaries generated by the tools through an independently developed toolchain; something I mentioned in the mitigation section. The chances of a common-mode failure leading to the same bug in both sets of tools is very low. R.