qemu/tests/tcg/arm
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
..
system tests/tcg: enable semiconsole test for Arm 2023-11-23 14:10:06 +00:00
commpage.c tests/tcg: add simple commpage test case 2020-06-08 17:04:19 +01:00
fcvt.c tests/tcg/arm: Use vmrs/vmsr instead of mcr/mrc 2024-07-05 12:34:35 +01:00
fcvt.ref tests/tcg/arm: Fix fcvt result messages 2024-07-05 12:34:18 +01:00
float_convd.ref tests/tcg: add float_convd test 2022-04-20 16:04:20 +01:00
float_convs.ref tests/tcg: add generic version of float_convs 2019-09-26 19:00:53 +01:00
float_madds.ref tests/tcg: add float_madds test to multiarch 2019-09-26 19:00:53 +01:00
hello-arm.c avoid TABs in files that only contain a few 2019-01-11 15:46:56 +01:00
Makefile.softmmu-target tests/tcg: Use --noexecstack with assembler files 2024-07-30 11:44:11 +01:00
Makefile.target tests/tcg: Suppress compiler false-positive warning on sha1.c 2025-03-10 10:30:01 +00:00
pcalign-a32.c tests/tcg: Add arm and aarch64 pc alignment tests 2021-12-15 10:35:26 +00:00
README tests/tcg/arm: Remove test-arm-iwmmxt test 2025-02-07 16:09:18 +00:00
semicall.h tests/tcg: update licenses to GPLv2 as intended 2024-02-28 09:09:04 +00:00

These are ARM specific guest programs

hello-arm
---------

A very simple inline assembly, write syscall based hello world