[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 0/9] Add support for Control-Flow Integrity
From: |
Cornelia Huck |
Subject: |
Re: [PATCH v3 0/9] Add support for Control-Flow Integrity |
Date: |
Fri, 6 Nov 2020 13:47:47 +0100 |
On Thu, 5 Nov 2020 17:18:56 -0500
Daniele Buono <dbuono@linux.vnet.ibm.com> wrote:
> This patch adds supports for Control-Flow Integrity checks
> on indirect function calls.
>
> Requires the use of clang, and link-time optimizations
>
> Changes in v3:
>
> - clang 11+ warnings are now handled directly at the source,
> instead of disabling specific warnings for the whole code.
> Some more work may be needed here to polish the patch, I
> would kindly ask for a review from the corresponding
> maintainers
Process question :)
Would you prefer to have this series merged in one go, or should
maintainers pick the patches for their subsystem?
> - Remove configure-time checks for toolchain compatibility
> with LTO.
> - the decorator to disable cfi checks on functions has
> been renamed and moved to include/qemu/compiler.h
> - configure-time checks for cfi support and dependencies
> has been moved from configure to meson
>
> Link to v2: https://www.mail-archive.com/qemu-devel@nongnu.org/msg753675.html
> Link to v1: https://www.mail-archive.com/qemu-devel@nongnu.org/msg718786.html
>
> Daniele Buono (9):
> fuzz: Make fork_fuzz.ld compatible with LLVM's LLD
> s390x: fix clang 11 warnings in cpu_models.c
> hw/usb: reorder fields in UASStatus
> s390x: Avoid variable size warning in ipl.h
> scsi: fix overflow in scsi_disk_new_request_dump
> configure,meson: add option to enable LTO
> cfi: Initial support for cfi-icall in QEMU
> check-block: enable iotests with cfi-icall
> configure/meson: support Control-Flow Integrity
>
> accel/tcg/cpu-exec.c | 11 +++++++++
> configure | 26 ++++++++++++++++++++
> hw/s390x/ipl.h | 4 +--
> hw/scsi/scsi-disk.c | 4 +++
> hw/usb/dev-uas.c | 2 +-
> include/qemu/compiler.h | 12 +++++++++
> meson.build | 46 +++++++++++++++++++++++++++++++++++
> meson_options.txt | 4 +++
> plugins/core.c | 37 ++++++++++++++++++++++++++++
> plugins/loader.c | 7 ++++++
> target/s390x/cpu_models.c | 8 +++---
> tcg/tci.c | 7 ++++++
> tests/check-block.sh | 18 ++++++++------
> tests/qtest/fuzz/fork_fuzz.ld | 12 ++++++++-
> util/main-loop.c | 11 +++++++++
> util/oslib-posix.c | 11 +++++++++
> 16 files changed, 205 insertions(+), 15 deletions(-)
>
- Re: [PATCH-for-5.2? v3 5/9] scsi: fix overflow in scsi_disk_new_request_dump, (continued)
[PATCH v3 7/9] cfi: Initial support for cfi-icall in QEMU, Daniele Buono, 2020/11/05
[PATCH v3 8/9] check-block: enable iotests with cfi-icall, Daniele Buono, 2020/11/05
[PATCH v3 9/9] configure,meson: support Control-Flow Integrity, Daniele Buono, 2020/11/05
[PATCH v3 3/9] hw/usb: reorder fields in UASStatus, Daniele Buono, 2020/11/05
Re: [PATCH v3 0/9] Add support for Control-Flow Integrity,
Cornelia Huck <=