From 389bc06b4953ddee918164d9c5650935793f283b Mon Sep 17 00:00:00 2001 From: farmdve Date: Fri, 6 Nov 2015 14:08:12 +0200 Subject: [PATCH] Fix crash on 00 opcode. l1_map should be an array of pointers, thus void ** --- include/uc_priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uc_priv.h b/include/uc_priv.h index 91be9bac..f1f7ec2e 100644 --- a/include/uc_priv.h +++ b/include/uc_priv.h @@ -114,7 +114,7 @@ struct uc_struct { bool global_dirty_log; // qemu/memory.c /* This is a multi-level map on the virtual address space. The bottom level has pointers to PageDesc. */ - void *l1_map; // qemu/translate-all.c + void **l1_map; // qemu/translate-all.c size_t l1_map_size; /* code generation context */ void *tcg_ctx; // for "TCGContext tcg_ctx" in qemu/translate-all.c