Skip to content
Snippets Groups Projects
Commit 17af2937 authored by bunnei's avatar bunnei
Browse files

arm_unicorn: Log unmapped memory access address.

parent 95ce4717
No related branches found
No related tags found
No related merge requests found
...@@ -52,7 +52,7 @@ static bool UnmappedMemoryHook(uc_engine* uc, uc_mem_type type, u64 addr, int si ...@@ -52,7 +52,7 @@ static bool UnmappedMemoryHook(uc_engine* uc, uc_mem_type type, u64 addr, int si
void* user_data) { void* user_data) {
ARM_Interface::ThreadContext ctx{}; ARM_Interface::ThreadContext ctx{};
Core::CPU().SaveContext(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 {}; return {};
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment