From 17af2937fe9fe4c6ec64ff613c5519bc5eb237f0 Mon Sep 17 00:00:00 2001 From: bunnei Date: Sat, 13 Jan 2018 16:24:05 -0500 Subject: [PATCH] arm_unicorn: Log unmapped memory access address. --- src/core/arm/unicorn/arm_unicorn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/arm/unicorn/arm_unicorn.cpp b/src/core/arm/unicorn/arm_unicorn.cpp index 0353454f5e..13f6c658cb 100644 --- a/src/core/arm/unicorn/arm_unicorn.cpp +++ b/src/core/arm/unicorn/arm_unicorn.cpp @@ -52,7 +52,7 @@ static bool UnmappedMemoryHook(uc_engine* uc, uc_mem_type type, u64 addr, int si void* user_data) { ARM_Interface::ThreadContext ctx{}; Core::CPU().SaveContext(ctx); - ASSERT_MSG(false, "Attempted to read from unmapped memory"); + ASSERT_MSG(false, "Attempted to read from unmapped memory: 0x%llx", addr); return {}; }