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 X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5FF7AC433DB for ; Thu, 21 Jan 2021 11:40:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0B11320637 for ; Thu, 21 Jan 2021 11:40:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726521AbhAULju (ORCPT ); Thu, 21 Jan 2021 06:39:50 -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. 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 X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B361CC433DB for ; Thu, 21 Jan 2021 11:26:49 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 12259221F7 for ; Thu, 21 Jan 2021 11:26:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 12259221F7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject: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=9CSkGOFbjvu6X5svmauJejR8XycZruWYclol/x3rMso=; b=XfgFk2SNnemRfSNO+dqWk7Ef/ bD13/4AVQuCcBboYaF9F/zdRd7PELw/sVmH3dJE8dUjRx8H6boHkGgWuhi35NcO3wpZetKGP87kPR vv6/+X6hqH+g2mYtnzBz7ogIMIS+5QP2owrmvma5rhmVhRcGU98zmxxVEmKJQ30Rb6o8yqd35F9MT Hksun/UHqQilM9g2bZrWrfsE47Iv6W0DMU/chVCtiw3AAJupYGvr1/OCxKSg6UN9QTt+BWaiGuAmM YGjldp28QWpxajhgrZY7zyBraTiLC1rbQw0V0bZapM/TOKFV612FhM4uBEzsfuH4mJEZlYZwiFg/F zc7FXMSGA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2Y41-0007Hq-WB; Thu, 21 Jan 2021 11:23:46 +0000 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 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-Disposition: inline In-Reply-To: X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Michal Marek , Julien Thierry , linux-efi , Catalin Marinas , Masahiro Yamada , Linux Kernel Mailing List , Mark Brown , linux-hardening@vger.kernel.org, Josh Poimboeuf , Will Deacon , Linux ARM , Kees Cook 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 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. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel