Closed icyfox168168 closed 2 years ago
Hello,
Where does the crash take place? Do you have a stack trace, and a test file which reproduces it? Are you using the external memory access callback, to handle accesses outside the emulated code/stack?
I simulate the printf function because I am simulating in the same exe environment, ShemuEmulate also has a printf function, there may be conflicts, I can use another way to directly simulate the printf in msvcrt.dll, which is perfect
ok DEFINE_FUNC_PTR3(LoadLibraryA("msvcrt.dll"), printf);
printf("123\n");
ko
printf("123\n");
Unable to intercept information with access to external memory
000000014009A531 | F0:814B 14 82020000 | lock or dword ptr ds:[rbx+14],282 | _sftbuf.cpp:91
Emulating: 0x000000014009a531 LOCK OR dword ptr [rbx+0x14], 0x00000282 Instruction id 407 lock 1