From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 04652ECAAD8 for ; Wed, 14 Sep 2022 00:13:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=HptIewJEl4AFt76akkcVmoVzS/frh0h/MfMqm9/9LNU=; b=iBDIx9UTLmvLQP 3gPn2P80iUfYd/alG1ZZVaZhUbdObJhqbVSYBi2nMdg6ACeqfWA9uyYVVx/szVH9zG+nWIlyo4VXZ WbXgAC/3wCyCex776hfFis7zk1Wl1RmA13R829lA+sBiM3TqFbcZHys5O4cXfGssyqKzDGq+gITpB Q98T0lSzCWnu9A3cpzRfXTY6jAPOS0i/2Hm/p9OXuC41yu6VxrWvAabnSMqGAZ1acDVgCH/qLpEeT zz53R34nxr40mX7JOBN5MheMoiktDopHSRf2ISQPCFXrg0ja9grtiABLl7ncq6zPZYQE8JhhwEaEK 6YkPeT0hBRnG15oGSG0A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYG0z-0028np-Fa; Wed, 14 Sep 2022 00:12:29 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYG0v-0028cY-BL for linux-arm-kernel@lists.infradead.org; Wed, 14 Sep 2022 00:12:27 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id A8163B81196; Wed, 14 Sep 2022 00:12:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 647DEC433D6; Wed, 14 Sep 2022 00:12:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663114342; bh=PkSh2//wMMp1MucFJs9CmlOv4o1oTLiq6JeiANe5BEo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AeeDYlynyt1LJBaJ00Iv8XZJT10JWjMT0mMUqrTKdFOuLS6T/Q+8fpljbd1GOBeaM svEGoLsrMaa0ItXAYwG0HoHZwQ7vSF6x5IzXZrpvqEuL7knNH7XINDQov0BAn42rd0 BSqGyhaU7mwqMx7slEz1YhuLCGA5XCpyfFzzkERDDIbTmX7CeojbnJna9/sFXzg4vX tw09jGuizzgFnYcTuWVnb1jpaOVYWBQZWowJbVldBmU6Kd0qTbeTRQw3YKPS9SX8Rh 7qcnz0bxNiF9EpzRaINR/0rVnn3ph7Lvuk6h5wZumNm6w85W4RaEWu4NpWL9nwUhTO 3dcW/kYdRPmFw== Date: Wed, 14 Sep 2022 01:12:05 +0100 From: Josh Poimboeuf To: Indu Bhagat Cc: linux-toolchains@vger.kernel.org, Peter Zijlstra , Nick Desaulniers , linux-kernel@vger.kernel.org, "Jose E. Marchesi" , Miroslav Benes , Mark Rutland , Will Deacon , x86@kernel.org, linux-arm-kernel@lists.infradead.org, live-patching@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Ard Biesheuvel , Chen Zhongjin , Sathvika Vasireddy , Christophe Leroy , Mark Brown Subject: Re: [RFC] Objtool toolchain proposal: -fannotate-{jump-table,noreturn} Message-ID: <20220914001205.ygvmwya5wcawcodj@treble> References: <20220909180704.jwwed4zhwvin7uyi@treble> <9f01a8b9-9ec6-6759-ba14-ee529a5b973a@oracle.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <9f01a8b9-9ec6-6759-ba14-ee529a5b973a@oracle.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220913_171225_587427_66AA5DB7 X-CRM114-Status: GOOD ( 11.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Sep 13, 2022 at 03:51:44PM -0700, Indu Bhagat wrote: > Curious to know what all features of objtool rely on the need to reverse > engineer the control flow graph. Is it a larger set or it is only for ORC > generation ? Objtool features which rely on the CFG: - Frame pointer rule validation (when using CONFIG_UNWINDER_FRAME_POINTER) - ORC metadata generation - Intel SMAP rule validation - ensures EFLAGS #AC is only set during usercopy - "noinstr" rule validation - ensures no instrumentation/tracing functions are called in certain critical sections -- Josh _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel