You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
1 month ago
..
system tests/tcg: update licenses to GPLv2 as intended 9 months ago
Makefile.softmmu-target tests/tcg: Use --noexecstack with assembler files 4 months ago
Makefile.target tests/tcg/x86_64: Add cross-modifying code test 1 month ago
adox.c target/i386: Fix 32-bit AD[CO]X insns in 64-bit mode 2 years ago
cmpxchg.c target/i386: fix cmpxchg with 32-bit register destination 2 years ago
cross-modifying-code.c tests/tcg/x86_64: Add cross-modifying code test 1 month ago
float_convd.ref tests/tcg: add float_convd test 3 years ago
float_convs.ref tests/tcg: add missing reference files for float_convs 3 years ago
noexec.c target/i386: Make translator stop before the end of a page 2 years ago
test-1648.c linux-user/i386: Fix allocation and alignment of fp state 6 months ago
test-2175.c target/i386: Fix carry flag for BLSI 4 months ago
test-2413.c tcg/optimize: Fix TCG_COND_TST* simplification of setcond2 5 months ago
vsyscall.c