summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-01-13 16:24:05 -0500
committerbunnei <bunneidev@gmail.com>2018-01-13 16:24:05 -0500
commit17af2937fe9fe4c6ec64ff613c5519bc5eb237f0 (patch)
tree6f37a60c9fe015a85667f7d1849606b547dfedba /src
parent95ce47177478227e300d5124c6797a1328e2aec8 (diff)
arm_unicorn: Log unmapped memory access address.
Diffstat (limited to 'src')
-rw-r--r--src/core/arm/unicorn/arm_unicorn.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/arm/unicorn/arm_unicorn.cpp b/src/core/arm/unicorn/arm_unicorn.cpp
index 0353454f5..13f6c658c 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 {};
}