From patchwork Fri Apr 30 15:07:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Serge Guelton X-Patchwork-Id: 12233633 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=-17.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham 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 683A1C433ED for ; Fri, 30 Apr 2021 15:11:43 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (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 E92E1613B4 for ; Fri, 30 Apr 2021 15:11:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E92E1613B4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:49652 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcUns-0005HB-Sy for qemu-devel@archiver.kernel.org; Fri, 30 Apr 2021 11:11:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39964) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcUkT-0002i8-9n for qemu-devel@nongnu.org; Fri, 30 Apr 2021 11:08:09 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:51850) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcUkK-0003Vx-Nq for qemu-devel@nongnu.org; Fri, 30 Apr 2021 11:08:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1619795278; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+VSUJXhr7+FMvVxsYo48gJ8kkG68R3As+c+JifbZNfU=; b=AsSchExe9KqA3D2aBg6NxLoA3lcpU8mwTcwdeaGonaDwOIOJpkYoiWMD1fWjLM+b+PILK2 qXDe7fwXKFmJG6rnrwGELytcj0TK320a/sV4BJwrMlvOYJps1zvWsXdQ5XCU3Il2GI7H5D F2W0Z0KwqxlVWT/XnN+1XWOUWR8SiZw= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-523-NPKrxAksOimxTm401BSjPQ-1; Fri, 30 Apr 2021 11:07:49 -0400 X-MC-Unique: NPKrxAksOimxTm401BSjPQ-1 Received: by mail-wr1-f70.google.com with SMTP id a12-20020a5d6cac0000b0290109c3c8d66fso9632240wra.15 for ; Fri, 30 Apr 2021 08:07:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:user-agent; bh=+VSUJXhr7+FMvVxsYo48gJ8kkG68R3As+c+JifbZNfU=; b=IcpeJm4zAqql5Pv/mBbrKPk4L0eav2OpVslNX9+4kKzldhu0knojixHzPkxVEZtX4i nIjt/CNihS8ED1kzq3TDmOYGPSWbce39P5PcoiFZYEyWCr3jn+bSL3jAwgH7goLKFBVq hmxRV2zrjbWRA9z6DZhzq54wiQ99FTnh8uYPswZsD6gNCl08Eyxb9dYpMK/EU80LVVhY Dpj1MRYMoNdCtQUKzw5R+/TM7ALh11oPBy5loXNcS7pFJZaiihdKBQlp/l0TrRd30pVL hE2AudBJNtov/qSPFI0dk7o+IerdiQ3XUBoGk1fDNtAJ5rdXNSj/YxpJ2TvDcz+VWoGA QnkQ== X-Gm-Message-State: AOAM530Yy9qwwBUYmVf11H5Rw0ch6px7S+b1sB8j9Iu/gWRlVQuiKWtT JmyHjgeNq6nw/9zF97QbReU7t12DLcD+8mwMPY/1qg06BTt39Ni218krzcMNEejGRkKemXFiQWa wkVUSx0Hw5ZLiQL/HcP39SkgbLXWtJPeYR81ZW+x4uPJgSzTILlTbq9h8fk/TSs1Da5E= X-Received: by 2002:a7b:c4cf:: with SMTP id g15mr6624625wmk.163.1619795267987; Fri, 30 Apr 2021 08:07:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxN0/CCHx9+vgeFLUWjmiN+cBWpkMGGNEtodHoq0Pi1xpihqyE39gdna0ZzIuCkdNYBkhJmmw== X-Received: by 2002:a7b:c4cf:: with SMTP id g15mr6624585wmk.163.1619795267657; Fri, 30 Apr 2021 08:07:47 -0700 (PDT) Received: from localhost ([2a01:e0a:923:3150:6f60:5f78:f08b:c504]) by smtp.gmail.com with ESMTPSA id n3sm3282350wmi.7.2021.04.30.08.07.46 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Apr 2021 08:07:47 -0700 (PDT) Date: Fri, 30 Apr 2021 17:07:45 +0200 From: Serge Guelton To: qemu-devel@nongnu.org Subject: [PATCH v2] Fix typo in CFI build documentation Message-ID: <20210430150745.GA1401713@sguelton.remote.csb> MIME-Version: 1.0 User-Agent: Mutt/1.5.21 (2010-09-15) Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=sguelton@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline Received-SPF: pass client-ip=216.205.24.124; envelope-from=sguelton@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, T_SPF_HELO_TEMPERROR=0.01, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-trivial@nongnu.org, philmd@redhat.com, laurent@vivier.eu Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Serge Guelton Reviewed-by: Philippe Mathieu-Daudé --- docs/devel/control-flow-integrity.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/devel/control-flow-integrity.rst b/docs/devel/control-flow-integrity.rst index d89d707..e6b73a4 100644 --- a/docs/devel/control-flow-integrity.rst +++ b/docs/devel/control-flow-integrity.rst @@ -39,7 +39,7 @@ later). Given the use of LTO, a version of AR that supports LLVM IR is required. The easies way of doing this is by selecting the AR provided by LLVM:: - AR=llvm-ar-9 CC=clang-9 CXX=lang++-9 /path/to/configure --enable-cfi + AR=llvm-ar-9 CC=clang-9 CXX=clang++-9 /path/to/configure --enable-cfi CFI is enabled on every binary produced. @@ -131,7 +131,7 @@ lld with version 11+. In other words, to compile with fuzzing and CFI, clang 11+ is required, and lld needs to be used as a linker:: - AR=llvm-ar-11 CC=clang-11 CXX=lang++-11 /path/to/configure --enable-cfi \ + AR=llvm-ar-11 CC=clang-11 CXX=clang++-11 /path/to/configure --enable-cfi \ -enable-fuzzing --extra-ldflags="-fuse-ld=lld" and then, compile the fuzzers as usual.