mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-22 19:15:36 +00:00
Update test_hang.c
This commit is contained in:
parent
fb9cd97504
commit
f2998f14cd
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include "unicorn_test.h"
|
||||
#include <stdio.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
uint64_t trunc_page(uint64_t addr)
|
||||
{
|
||||
|
@ -87,8 +88,8 @@ void test_hang(void **state)
|
|||
uc_reg_read(uc, UC_ARM64_REG_X0, &x0);
|
||||
uc_reg_read(uc, UC_ARM64_REG_X1, &x1);
|
||||
|
||||
printf("x0: %#lx\n", x0);
|
||||
printf("x1: %#lx\n", x1);
|
||||
printf("x0: %"PRIu64"\n", x0);
|
||||
printf("x1: %"PRIu64"\n", x1);
|
||||
}
|
||||
|
||||
int main(int argc, const char * argv[]) {
|
||||
|
|
Loading…
Reference in a new issue