[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 05/23] Fix typo in CFI build documentation
From: |
Laurent Vivier |
Subject: |
[PULL 05/23] Fix typo in CFI build documentation |
Date: |
Mon, 3 May 2021 10:36:05 +0200 |
From: Serge Guelton <sguelton@redhat.com>
Signed-off-by: Serge Guelton <sguelton@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210430150745.GA1401713@sguelton.remote.csb>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
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 d89d70733d88..e6b73a4fe1a5 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.
--
2.31.1
- [PULL 00/23] Trivial branch for 6.1 patches, Laurent Vivier, 2021/05/03
- [PULL 10/23] ui: Fix memory leak in qemu_xkeymap_mapping_table(), Laurent Vivier, 2021/05/03
- [PULL 05/23] Fix typo in CFI build documentation,
Laurent Vivier <=
- [PULL 08/23] hw/display/qxl: Constify VMStateDescription, Laurent Vivier, 2021/05/03
- [PULL 04/23] hw/pcmcia: Do not register PCMCIA type if not required, Laurent Vivier, 2021/05/03
- [PULL 01/23] accel: kvm: clarify that extra exit data is hexadecimal, Laurent Vivier, 2021/05/03
- [PULL 02/23] hw/arm/pxa2xx: Declare PCMCIA bus with Kconfig, Laurent Vivier, 2021/05/03
- [PULL 11/23] hw: Remove superfluous includes of hw/hw.h, Laurent Vivier, 2021/05/03
- [PULL 07/23] hw/arm: Constify VMStateDescription, Laurent Vivier, 2021/05/03
- [PULL 06/23] vmstate: Constify some VMStateDescriptions, Laurent Vivier, 2021/05/03
- [PULL 13/23] hw: Do not include hw/irq.h if it is not necessary, Laurent Vivier, 2021/05/03
- [PULL 16/23] Do not include hw/boards.h if it's not really necessary, Laurent Vivier, 2021/05/03
- [PULL 09/23] hw/usb: Constify VMStateDescription, Laurent Vivier, 2021/05/03