-
Notifications
You must be signed in to change notification settings - Fork 1.4k
uc_mem_map
crashes at unicorn!ram_block_add+0xf3
?
#2179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The crash seems weird, your uc ptr is null or invalid? |
What's the values of |
then I debugged and found that the second time he did the |
Your uc pointer is corrupted and not our fault. Please debug your program =) |
If you do not return true in unmapped hooks, you should get errors from uc_emu_start, no? |
I can't reproduce your bug. Note I modified your case to C:
are you on dev branch? |
This reminds of turning to ASAN:
Cool, looks like indeed a bug happening. |
I belive I know what happen: the second memory mappings fails (probably because of not not enough memory) this sets can you try this patch:
I'm not sure if this is the correct place, but it should work. |
I confirmed the patch fixes the issue. Thanks for @PhilippTakacs |
I made an x64dbg plugin and ran it in x64dbg, but unfortunately it crashes!
I put any program like vcpkg.exe into the debugger and then right click on any function of that plugin and it crashes!
I have minidump and the following stack information
Here is the address of my plugin, I am using the latest x64dbg, snapshot_2025-03-15_15-57
https://github.com/YuHuanTin/CmakeVMHelp
To be honest, I can't really figure out why, so I came to ask :(
dump-05052025_2302210172.dmp
The text was updated successfully, but these errors were encountered: