fix several tests due to not properly bswap on s390x
This commit is contained in:
@@ -1598,8 +1598,8 @@ static void test_x86_mmu(void)
|
||||
OK(uc_emu_start(uc, rip, 0x0, 0, 0));
|
||||
OK(uc_mem_read(uc, 0x1000, &parrent, sizeof(parrent)));
|
||||
OK(uc_mem_read(uc, 0x2000, &child, sizeof(child)));
|
||||
TEST_CHECK(parrent == 60);
|
||||
TEST_CHECK(child == 42);
|
||||
TEST_CHECK(LEINT64(parrent) == 60);
|
||||
TEST_CHECK(LEINT64(child) == 42);
|
||||
OK(uc_context_free(context));
|
||||
OK(uc_close(uc));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user