unicorn/tests/unit
Timo Röhling e1e7b25268
Adjust big memory test for host pagesize
On machines with a page size larger than 4K, the requested memory size
in `test_map_big_memory` gets rounded up and overflows to zero.

This PR adds some code to query the page size and adjust the requested
memory size accordingly.
2022-09-25 18:16:06 +02:00
..
acutest.h Add clang-format and format code to qemu code style 2021-10-29 12:44:49 +02:00
test_arm.c Format code 2022-04-16 17:50:12 +02:00
test_arm64.c Format code 2022-08-31 23:27:24 +08:00
test_ctl.c Disable ARM-specific tests when ARM is unavailable. 2022-08-18 18:29:24 -07:00
test_m68k.c fix rust bindings build on windows (#1584) 2022-04-16 13:40:04 +02:00
test_mem.c Adjust big memory test for host pagesize 2022-09-25 18:16:06 +02:00
test_mips.c fix rust bindings build on windows (#1584) 2022-04-16 13:40:04 +02:00
test_ppc.c Fixed endianness when writing PPC32 CR register. 2022-07-20 18:31:13 -04:00
test_riscv.c Format code 2022-05-23 12:30:44 +02: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 Format code 2022-08-31 23:27:24 +08:00
unicorn_test.h Fix test for Android due to clock() not working 2021-11-01 15:33:36 +01:00