Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp145687pxb; Thu, 21 Jan 2021 03:41:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJwczRdERlVHUBY6W5YX6w3YOwGidsL/mhebkvXFaZCLTKxEp10hCvVLS7CTtUHSs5HD3Ymc X-Received: by 2002:a17:906:34c3:: with SMTP id h3mr8797076ejb.132.1611229260953; Thu, 21 Jan 2021 03:41:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611229260; cv=none; d=google.com; s=arc-20160816; b=vAFvy52ZysLyNe10kz21vk02ANPaNWyotd8joU0alqnDvCy90lWPGOnwBmMrhp360L XyoRDIBs6d3hkUvBu17UlHmb0HCToC2c/VGO0RUPaCsobI1S+Q+bHAdBC2O33MDvIrbU qHoTGISvc8YsoiMN9Rr6XxNa3pXXhQ8xnhnIJWsG1c9PUqIYXN7GlhUtXbAp3KdPjSrj L6SpyS1LTUf/QESY5pgypt76Ga5FY2Aiy2UxtCuwLTEfJqMFmBsWWn1YZIY6MXsQlbLd 9WWfftrQSXlsxIuZ6vOMe8yL5HJq+/xvdz+poRhruFqLKRRfgGSBCr8LF6s5zd5N1HXc XN9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ZijhVnCQeRnghlQrj7CxHb8Htl9AaW+rCSGzY/jBZ0E=; b=Otg9FB6tRaejyYjotOMd1Shvx+f1XgapcZYk9bw4OnCwHcN57AMv60r9rUaL4gqAZk 4MYI3XozeYb68WEu9sxAvi/IjHC+jdbpzen0a7Qx/Dn3gbXysE/pFz5SkCgLk43/PsO5 AoDlppoz1s2Nsp92N96oXLI8CKz/f51pvuYlT5vrnfMP/V/57LOVSjuefrUGsUhKdvwC fl6ZPomodKq5jgsy/6edD0Plot2wO+qFqz9OdJnCujhGz8b47gcD/9p1Fmjn0s5ZeadH nZX8pFqkqAUC6yubqXXMYPufs4HCBMcFhCRzzVEBkR+RXTtVkWu5UdT6dCYGy98kjkCd 2qpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=s9hmxv1N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g13si2086351edk.411.2021.01.21.03.40.37; Thu, 21 Jan 2021 03:41:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=s9hmxv1N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730547AbhAULjl (ORCPT + 99 others); Thu, 21 Jan 2021 06:39:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729990AbhAULYi (ORCPT ); Thu, 21 Jan 2021 06:24:38 -0500 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D465AC0613C1; Thu, 21 Jan 2021 03:23:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=ZijhVnCQeRnghlQrj7CxHb8Htl9AaW+rCSGzY/jBZ0E=; b=s9hmxv1NEP9U0dUBEnGwOvs8Wl /Y2hWOQFfJoesU7BlKDP66exkGsx44M5X/6Y3EMoy1quUWTRkC6q7J/aI7Oa5ywUCxsiz+heeXVR/ 5GSNm9KWpESYtCI6YK4vtU8/PyPmnMKhslkt+FT6FvgqBzq8dQM5DTXuvRIS7uePTus+d3974o0+W 7GT2k8xQX8N6CtVrDmmmDfjgrz7Tr5EFSY2Xwf3kEmgRs8XgjFd4c3nhWXeUJTw2y2Ttcq/uDjcu4 zYvr0IS2tT0xSpPtunw/XzvjTDqWmN5JSAgB2VsS44fCD3gDmPPy9NUBgFSE+M02Za4bcLtdaglAz gmewhy+g==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2Y3v-0007FA-Gl; Thu, 21 Jan 2021 11:23:39 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 83488304D28; Thu, 21 Jan 2021 12:23:36 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 6932320C86810; Thu, 21 Jan 2021 12:23:36 +0100 (CET) Date: Thu, 21 Jan 2021 12:23:36 +0100 From: Peter Zijlstra To: Ard Biesheuvel Cc: Julien Thierry , Linux Kernel Mailing List , Linux ARM , Catalin Marinas , Will Deacon , Masahiro Yamada , Kees Cook , Michal Marek , Josh Poimboeuf , Mark Rutland , Mark Brown , linux-efi , linux-hardening@vger.kernel.org Subject: Re: [RFC PATCH 00/17] objtool: add base support for arm64 Message-ID: References: <20210120173800.1660730-1-jthierry@redhat.com> <186bb660-6e70-6bbf-4e96-1894799c79ce@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 21, 2021 at 12:08:23PM +0100, Ard Biesheuvel wrote: > On Thu, 21 Jan 2021 at 11:26, Julien Thierry wrote: > > I'm not familiar with toolcahin code models, but would this approach be > > able to validate assembly code (either inline or in assembly files?) > > > > No, it would not. But those files are part of the code base, and can > be reviewed and audited. x86 has a long history if failing at exactly that.