qemu/tests/tcg/x86_64
Ilya Leoshkevich b6a48d2a4b tests/tcg/x86_64: Add cross-modifying code test
commit f025692c99 ("accel/tcg: Clear PAGE_WRITE before translation")
fixed cross-modifying code handling, but did not add a test. The
changed code was further improved recently [1], and I was not sure
whether these modifications were safe (spoiler: they were fine).

Add a test to make sure there are no regressions.

[1] https://lists.gnu.org/archive/html/qemu-devel/2022-09/msg00034.html

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20241001150617.9977-1-iii@linux.ibm.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20241023113406.1284676-8-alex.bennee@linaro.org>
2024-10-24 09:56:21 +01:00
..
system tests/tcg: update licenses to GPLv2 as intended 2024-02-28 09:09:04 +00:00
adox.c target/i386: Fix 32-bit AD[CO]X insns in 64-bit mode 2023-02-16 16:57:34 +01:00
cmpxchg.c target/i386: fix cmpxchg with 32-bit register destination 2022-11-15 09:34:42 +10:00
cross-modifying-code.c tests/tcg/x86_64: Add cross-modifying code test 2024-10-24 09:56:21 +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 missing reference files for float_convs 2022-04-20 16:04:20 +01:00
Makefile.softmmu-target tests/tcg: Use --noexecstack with assembler files 2024-07-30 11:44:11 +01:00
Makefile.target tests/tcg/x86_64: Add cross-modifying code test 2024-10-24 09:56:21 +01:00
noexec.c target/i386: Make translator stop before the end of a page 2022-09-06 08:04:26 +01:00
test-1648.c linux-user/i386: Fix allocation and alignment of fp state 2024-05-26 15:45:23 -07:00
test-2175.c target/i386: Fix carry flag for BLSI 2024-08-21 09:11:26 +10:00
test-2413.c tcg/optimize: Fix TCG_COND_TST* simplification of setcond2 2024-07-03 10:24:12 -07:00
vsyscall.c tests/tcg/x86_64: add vsyscall smoke test 2021-05-20 14:19:30 +02:00