unicorn/tests/unit
Takacs, Philipp d9d2c4e581 fix uc_mem write with cow when using upper half of the address
uc->target_page_align is a uint32_t. When the binary not will only
invert the 32 bit of the value. Used this in a binary and operator with
a uint64_t will case the upper 32bit of the address to be 0. Therefor
the bug only appears when the upper 32bit of the address are used.

Now a local uint64_t variable is used for the alignemend and the test
uses a not page alligned address which does not fit in 32bit.
2024-01-15 14:20:29 +01:00
..
acutest.h Reformat code with format.sh 2023-06-16 15:23:41 -07:00
endian.h Reformat code with format.sh 2023-06-16 15:23:41 -07:00
test_arm.c Apply fix for big endian hosts per #1710 2022-10-28 16:20:20 +02:00
test_arm64.c Reformat code with format.sh 2023-06-16 15:23:41 -07:00
test_ctl.c Format code 2023-08-06 21:53:42 +08:00
test_m68k.c fix rust bindings build on windows (#1584) 2022-04-16 13:40:04 +02:00
test_mem.c fix uc_mem write with cow when using upper half of the address 2024-01-15 14:20:29 +01:00
test_mips.c Apply fix for big endian hosts per #1710 2022-10-28 16:20:20 +02:00
test_ppc.c Fix PPC32 fault when timer-spr access 2023-12-06 01:58:50 +03:00
test_riscv.c Fix RISCV test_riscv32_fp_move test 2023-06-16 15:23:43 -07:00
test_s390x.c fix rust bindings build on windows (#1584) 2022-04-16 13:40:04 +02:00
test_sparc.c Add clang-format and format code to qemu code style 2021-10-29 12:44:49 +02:00
test_tricore.c TriCore Support (#1568) 2022-04-29 23:11:34 +02:00
test_x86.c fix fxsave fpip value, provide tests 2023-10-26 08:42:58 +03:00
unicorn_test.h Reformat code with format.sh 2023-06-16 15:23:41 -07:00