[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 05/18] scripts/coverity-scan/COMPONENTS.md: Update paths to match
From: |
Peter Maydell |
Subject: |
[PULL 05/18] scripts/coverity-scan/COMPONENTS.md: Update paths to match gitlab CI |
Date: |
Sat, 22 Jun 2024 13:06:30 +0100 |
Since commit 83aa1baa069c we have been running the build for Coverity
Scan as a Gitlab CI job, rather than the old setup where it was run
on a local developer's machine. This is working well, but the
absolute paths of files are different for the Gitlab CI job, which
means that the regexes we use to identify Coverity components no
longer work. With Gitlab CI builds the file paths are of the form
/builds/qemu-project/qemu/accel/kvm/kvm-all.c
rather than the old
/qemu/accel/kvm/kvm-all.c
and our regexes all don't match.
Update all the regexes to start with .*/qemu/ . This will hopefully
avoid the need to change them again in future if the build path
changes again.
This change was made with a search-and-replace of (/qemu)?
to .*/qemu .
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20240604145934.1230583-2-peter.maydell@linaro.org
---
scripts/coverity-scan/COMPONENTS.md | 104 ++++++++++++++--------------
1 file changed, 52 insertions(+), 52 deletions(-)
diff --git a/scripts/coverity-scan/COMPONENTS.md
b/scripts/coverity-scan/COMPONENTS.md
index 1537e49cd5a..98d4bcd6a50 100644
--- a/scripts/coverity-scan/COMPONENTS.md
+++ b/scripts/coverity-scan/COMPONENTS.md
@@ -1,157 +1,157 @@
This is the list of currently configured Coverity components:
alpha
- ~ (/qemu)?((/include)?/hw/alpha/.*|/target/alpha/.*)
+ ~ .*/qemu((/include)?/hw/alpha/.*|/target/alpha/.*)
arm
- ~
(/qemu)?((/include)?/hw/arm/.*|(/include)?/hw/.*/(arm|allwinner-a10|bcm28|digic|exynos|imx|omap|stellaris|pxa2xx|versatile|zynq|cadence).*|/hw/net/xgmac.c|/hw/ssi/xilinx_spips.c|/target/arm/.*)
+ ~
.*/qemu((/include)?/hw/arm/.*|(/include)?/hw/.*/(arm|allwinner-a10|bcm28|digic|exynos|imx|omap|stellaris|pxa2xx|versatile|zynq|cadence).*|/hw/net/xgmac.c|/hw/ssi/xilinx_spips.c|/target/arm/.*)
avr
- ~ (/qemu)?((/include)?/hw/avr/.*|/target/avr/.*)
+ ~ .*/qemu((/include)?/hw/avr/.*|/target/avr/.*)
cris
- ~ (/qemu)?((/include)?/hw/cris/.*|/target/cris/.*)
+ ~ .*/qemu((/include)?/hw/cris/.*|/target/cris/.*)
hexagon-gen (component should be ignored in analysis)
- ~ (/qemu)?(/target/hexagon/.*generated.*)
+ ~ .*/qemu(/target/hexagon/.*generated.*)
hexagon
- ~ (/qemu)?(/target/hexagon/.*)
+ ~ .*/qemu(/target/hexagon/.*)
hppa
- ~ (/qemu)?((/include)?/hw/hppa/.*|/target/hppa/.*)
+ ~ .*/qemu((/include)?/hw/hppa/.*|/target/hppa/.*)
i386
- ~ (/qemu)?((/include)?/hw/i386/.*|/target/i386/.*|/hw/intc/[^/]*apic[^/]*\.c)
+ ~ .*/qemu((/include)?/hw/i386/.*|/target/i386/.*|/hw/intc/[^/]*apic[^/]*\.c)
loongarch
- ~ (/qemu)?((/include)?/hw/(loongarch/.*|.*/loongarch.*)|/target/loongarch/.*)
+ ~ .*/qemu((/include)?/hw/(loongarch/.*|.*/loongarch.*)|/target/loongarch/.*)
m68k
- ~
(/qemu)?((/include)?/hw/m68k/.*|/target/m68k/.*|(/include)?/hw(/.*)?/mcf.*|(/include)?/hw/nubus/.*)
+ ~
.*/qemu((/include)?/hw/m68k/.*|/target/m68k/.*|(/include)?/hw(/.*)?/mcf.*|(/include)?/hw/nubus/.*)
microblaze
- ~ (/qemu)?((/include)?/hw/microblaze/.*|/target/microblaze/.*)
+ ~ .*/qemu((/include)?/hw/microblaze/.*|/target/microblaze/.*)
mips
- ~ (/qemu)?((/include)?/hw/mips/.*|/target/mips/.*)
+ ~ .*/qemu((/include)?/hw/mips/.*|/target/mips/.*)
openrisc
- ~ (/qemu)?((/include)?/hw/openrisc/.*|/target/openrisc/.*)
+ ~ .*/qemu((/include)?/hw/openrisc/.*|/target/openrisc/.*)
ppc
- ~
(/qemu)?((/include)?/hw/ppc/.*|/target/ppc/.*|/hw/pci-host/(uninorth.*|dec.*|prep.*|ppc.*)|/hw/misc/macio/.*|(/include)?/hw/.*/(xics|openpic|spapr).*)
+ ~
.*/qemu((/include)?/hw/ppc/.*|/target/ppc/.*|/hw/pci-host/(uninorth.*|dec.*|prep.*|ppc.*)|/hw/misc/macio/.*|(/include)?/hw/.*/(xics|openpic|spapr).*)
riscv
- ~
(/qemu)?((/include)?/hw/riscv/.*|/target/riscv/.*|/hw/.*/(riscv_|ibex_|sifive_).*)
+ ~
.*/qemu((/include)?/hw/riscv/.*|/target/riscv/.*|/hw/.*/(riscv_|ibex_|sifive_).*)
rx
- ~ (/qemu)?((/include)?/hw/rx/.*|/target/rx/.*)
+ ~ .*/qemu((/include)?/hw/rx/.*|/target/rx/.*)
s390
- ~ (/qemu)?((/include)?/hw/s390x/.*|/target/s390x/.*|/hw/.*/s390_.*)
+ ~ .*/qemu((/include)?/hw/s390x/.*|/target/s390x/.*|/hw/.*/s390_.*)
sh4
- ~ (/qemu)?((/include)?/hw/sh4/.*|/target/sh4/.*)
+ ~ .*/qemu((/include)?/hw/sh4/.*|/target/sh4/.*)
sparc
- ~
(/qemu)?((/include)?/hw/sparc(64)?.*|/target/sparc/.*|/hw/.*/grlib.*|/hw/display/cg3.c)
+ ~
.*/qemu((/include)?/hw/sparc(64)?.*|/target/sparc/.*|/hw/.*/grlib.*|/hw/display/cg3.c)
tricore
- ~ (/qemu)?((/include)?/hw/tricore/.*|/target/tricore/.*)
+ ~ .*/qemu((/include)?/hw/tricore/.*|/target/tricore/.*)
xtensa
- ~ (/qemu)?((/include)?/hw/xtensa/.*|/target/xtensa/.*)
+ ~ .*/qemu((/include)?/hw/xtensa/.*|/target/xtensa/.*)
9pfs
- ~ (/qemu)?(/hw/9pfs/.*|/fsdev/.*)
+ ~ .*/qemu(/hw/9pfs/.*|/fsdev/.*)
audio
- ~ (/qemu)?((/include)?/(audio|hw/audio)/.*)
+ ~ .*/qemu((/include)?/(audio|hw/audio)/.*)
block
- ~
(/qemu)?(/block.*|(/include?)/(block|storage-daemon)/.*|(/include)?/hw/(block|ide|nvme)/.*|/qemu-(img|io).*|/util/(aio|async|thread-pool).*)
+ ~
.*/qemu(/block.*|(/include?)/(block|storage-daemon)/.*|(/include)?/hw/(block|ide|nvme)/.*|/qemu-(img|io).*|/util/(aio|async|thread-pool).*)
char
- ~ (/qemu)?(/qemu-char\.c|/include/sysemu/char\.h|(/include)?/hw/char/.*)
+ ~ .*/qemu(/qemu-char\.c|/include/sysemu/char\.h|(/include)?/hw/char/.*)
crypto
- ~
(/qemu)?((/include)?/crypto/.*|/hw/.*/.*crypto.*|(/include/sysemu|/backends)/cryptodev.*)
+ ~
.*/qemu((/include)?/crypto/.*|/hw/.*/.*crypto.*|(/include/sysemu|/backends)/cryptodev.*)
disas
- ~ (/qemu)?((/include)?/disas.*)
+ ~ .*/qemu((/include)?/disas.*)
fpu
- ~ (/qemu)?((/include)?(/fpu|/libdecnumber)/.*)
+ ~ .*/qemu((/include)?(/fpu|/libdecnumber)/.*)
io
- ~ (/qemu)?((/include)?/io/.*)
+ ~ .*/qemu((/include)?/io/.*)
ipmi
- ~ (/qemu)?((/include)?/hw/ipmi/.*)
+ ~ .*/qemu((/include)?/hw/ipmi/.*)
migration
- ~ (/qemu)?((/include)?/migration/.*)
+ ~ .*/qemu((/include)?/migration/.*)
monitor
- ~ (/qemu)?(/qapi.*|/qobject/.*|/monitor\..*|/[hq]mp\..*)
+ ~ .*/qemu(/qapi.*|/qobject/.*|/monitor\..*|/[hq]mp\..*)
nbd
- ~ (/qemu)?(/nbd/.*|/include/block/nbd.*|/qemu-nbd\.c)
+ ~ .*/qemu(/nbd/.*|/include/block/nbd.*|/qemu-nbd\.c)
net
- ~ (/qemu)?((/include)?(/hw)?/(net|rdma)/.*)
+ ~ .*/qemu((/include)?(/hw)?/(net|rdma)/.*)
pci
- ~ (/qemu)?(/include)?/hw/(cxl/|pci).*
+ ~ .*/qemu(/include)?/hw/(cxl/|pci).*
qemu-ga
- ~ (/qemu)?(/qga/.*)
+ ~ .*/qemu(/qga/.*)
scsi
- ~ (/qemu)?(/scsi/.*|/hw/scsi/.*|/include/hw/scsi/.*)
+ ~ .*/qemu(/scsi/.*|/hw/scsi/.*|/include/hw/scsi/.*)
trace
- ~ (/qemu)?(/.*trace.*\.[ch])
+ ~ .*/qemu(/.*trace.*\.[ch])
ui
- ~ (/qemu)?((/include)?(/ui|/hw/display|/hw/input)/.*)
+ ~ .*/qemu((/include)?(/ui|/hw/display|/hw/input)/.*)
usb
- ~ (/qemu)?(/hw/usb/.*|/include/hw/usb/.*)
+ ~ .*/qemu(/hw/usb/.*|/include/hw/usb/.*)
user
- ~
(/qemu)?(/linux-user/.*|/bsd-user/.*|/user-exec\.c|/thunk\.c|/include/user/.*)
+ ~
.*/qemu(/linux-user/.*|/bsd-user/.*|/user-exec\.c|/thunk\.c|/include/user/.*)
util
- ~ (/qemu)?(/util/.*|/include/qemu/.*)
+ ~ .*/qemu(/util/.*|/include/qemu/.*)
vfio
- ~ (/qemu)?(/include)?/hw/vfio/.*
+ ~ .*/qemu(/include)?/hw/vfio/.*
virtio
- ~ (/qemu)?(/include)?/hw/virtio/.*
+ ~ .*/qemu(/include)?/hw/virtio/.*
xen
- ~ (/qemu)?(.*/xen.*)
+ ~ .*/qemu(.*/xen.*)
hvf
- ~ (/qemu)?(.*/hvf.*)
+ ~ .*/qemu(.*/hvf.*)
kvm
- ~ (/qemu)?(.*/kvm.*)
+ ~ .*/qemu(.*/kvm.*)
tcg
- ~ (/qemu)?(/accel/tcg|/replay|/tcg)/.*
+ ~ .*/qemu(/accel/tcg|/replay|/tcg)/.*
sysemu
- ~ (/qemu)?(/system/.*|/accel/.*)
+ ~ .*/qemu(/system/.*|/accel/.*)
(headers)
- ~ (/qemu)?(/include/.*)
+ ~ .*/qemu(/include/.*)
testlibs
- ~ (/qemu)?(/tests/qtest(/libqos/.*|/libqtest.*))
+ ~ .*/qemu(/tests/qtest(/libqos/.*|/libqtest.*))
tests
- ~ (/qemu)?(/tests/.*)
+ ~ .*/qemu(/tests/.*)
--
2.34.1
- [PULL 00/18] target-arm queue, Peter Maydell, 2024/06/22
- [PULL 01/18] hw/net/can/xlnx-versal-canfd: Fix sorting of the tx queue, Peter Maydell, 2024/06/22
- [PULL 07/18] scripts/coverity-scan/COMPONENTS.md: Add crypto headers in host/include to the crypto component, Peter Maydell, 2024/06/22
- [PULL 03/18] hw/intc/arm_gic: Fix deactivation of SPI lines, Peter Maydell, 2024/06/22
- [PULL 04/18] hw/arm/xilinx_zynq: Fix IRQ/FIQ routing, Peter Maydell, 2024/06/22
- [PULL 06/18] scripts/coverity-scan/COMPONENTS.md: Fix 'char' component, Peter Maydell, 2024/06/22
- [PULL 12/18] hw/arm/virt: Add serial aliases in DTB, Peter Maydell, 2024/06/22
- [PULL 16/18] hw/misc: Set valid access size for Exynos4210 RNG, Peter Maydell, 2024/06/22
- [PULL 05/18] scripts/coverity-scan/COMPONENTS.md: Update paths to match gitlab CI,
Peter Maydell <=
- [PULL 02/18] hw/arm/sbsa-ref: switch to 1GHz timer frequency, Peter Maydell, 2024/06/22
- [PULL 08/18] scripts/coverity-scan/COMPONENTS.md: Fix monitor component, Peter Maydell, 2024/06/22
- [PULL 09/18] scripts/coverity-scan/COMPONENTS.md: Include libqmp in testlibs, Peter Maydell, 2024/06/22
- [PULL 11/18] hw/usb/hcd-dwc2: Handle invalid address access in read and write functions, Peter Maydell, 2024/06/22
- [PULL 14/18] hw/arm/virt: allow creation of a second NonSecure UART, Peter Maydell, 2024/06/22
- [PULL 15/18] hw/arm/virt: Avoid unexpected warning from Linux guest on host with Fujitsu CPUs, Peter Maydell, 2024/06/22
- [PULL 18/18] hw/arm/sbsa-ref: Enable CPU cluster on ARM sbsa machine, Peter Maydell, 2024/06/22
- [PULL 10/18] hw/timer/a9gtimer: Handle QTest mode in a9_gtimer_get_current_cpu, Peter Maydell, 2024/06/22
- [PULL 17/18] hw/usb/hcd-ohci: Fix ohci_service_td: accept zero-length TDs where CBP=BE+1, Peter Maydell, 2024/06/22
- [PULL 13/18] hw/arm/virt: Rename VIRT_UART and VIRT_SECURE_UART to VIRT_UART[01], Peter Maydell, 2024/06/22