qemu-cr16/tests/tcg/multiarch
Peter Maydell c05aec9d4a tests/tcg: Suppress compiler false-positive warning on sha1.c
GCC versions at least 12 through 15 incorrectly report a warning
about code in sha1.c:

tests/tcg/multiarch/sha1.c:161:13: warning: ‘SHA1Transform’ reading 64 bytes from a region of size 0 [-Wstringop-overread]
  161 |             SHA1Transform(context->state, &data[i]);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This is a piece of stock library code for doing SHA1 which we've
simply copied, rather than writing ourselves. The bug has been
reported to upstream GCC (about a different library's use of this
code):
 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106709

For our test case, since this isn't our original code and there isn't
actually a bug in it, suppress the incorrect warning rather than
trying to modify the code to work around the compiler issue.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2328
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250227141343.1675415-1-peter.maydell@linaro.org>
[AJB: -Wno-unknown-warning-option for clang's sake]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20250304222439.2035603-18-alex.bennee@linaro.org>
2025-03-10 10:30:01 +00:00
..
arm-compat-semi tests/tcg: update licenses to GPLv2 as intended 2024-02-28 09:09:04 +00:00
gdbstub tests/tcg: Add late gdbstub attach test 2025-02-10 13:47:59 +00:00
libs tests/tcg: update licenses to GPLv2 as intended 2024-02-28 09:09:04 +00:00
linux tests/tcg: mark test-vma as a linux-only test 2025-03-10 10:30:00 +00:00
system tests/tcg: Do not use inttypes.h in multiarch/system/memory.c 2024-12-24 07:32:50 -08:00
catch-syscalls.c tests/tcg: Add the syscall catchpoint gdbstub test 2024-02-09 17:52:40 +00:00
check-plugin-output.sh tests/tcg/multiarch: add test for plugin memory access 2024-09-19 15:58:01 +01:00
float_convd.c tests/tcg: update licenses to GPLv2 as intended 2024-02-28 09:09:04 +00:00
float_convs.c tests/tcg: update licenses to GPLv2 as intended 2024-02-28 09:09:04 +00:00
float_helpers.h tests/tcg: update licenses to GPLv2 as intended 2024-02-28 09:09:04 +00:00
float_madds.c tests/tcg: update licenses to GPLv2 as intended 2024-02-28 09:09:04 +00:00
follow-fork-mode.c tests/tcg: Add two follow-fork-mode tests 2024-03-06 12:35:19 +00:00
late-attach.c tests/tcg: Add late gdbstub attach test 2025-02-10 13:47:59 +00:00
Makefile.target tests/tcg: Suppress compiler false-positive warning on sha1.c 2025-03-10 10:30:01 +00:00
munmap-pthread.c tests/tcg/multiarch: add vma-pthread.c 2023-01-05 11:41:29 -08:00
noexec.c.inc target/s390x: Make translator stop before the end of a page 2022-09-06 08:04:26 +01:00
nop_func.h tests/tcg/multiarch: add vma-pthread.c 2023-01-05 11:41:29 -08:00
overflow.c tests/tcg: Test overflow conditions 2022-06-03 08:03:28 +02:00
prot-none.c tests/tcg: Add the PROT_NONE gdbstub test 2024-01-29 20:48:49 +10:00
README
segfault.c tests/tcg: Add multiarch test for Xfer:siginfo:read stub 2024-03-13 11:43:52 +00:00
sha1.c tests/tcg/sha1: remove endian include 2021-10-12 08:37:05 +01:00
sha512.c other architectures: spelling fixes 2023-07-25 17:14:07 +03:00
sigbus.c tests/tcg/multiarch: Adjust sigbus.c 2023-06-06 10:19:39 +01:00
signals.c tests/tcg: add a multiarch signals test to stress test signal delivery 2021-06-07 14:42:42 +01:00
sigreturn-sigmask.c tests/tcg: Test that sigreturn() does not corrupt the signal mask 2024-11-16 08:42:24 -08:00
test-aes-main.c.inc tests/multiarch: Add test-aes 2023-07-08 07:30:17 +01:00
test-mmap.c tests/tcg: make test-mmap a little less aggressive 2021-07-14 14:33:53 +01:00
test-plugin-mem-access.c tests/tcg/multiarch: add test for plugin memory access 2024-09-19 15:58:01 +01:00
testthread.c
threadcount.c tests/tcg: add new threadcount test 2020-05-27 14:26:49 +01:00
vma-pthread.c tests/tcg/multiarch: add vma-pthread.c 2023-01-05 11:41:29 -08:00

Multi-architecture linux-user tests