0

drmemory 因以下错误而崩溃:

<Invalid opcode encountered>
<intercept_syscall_wrapper: not hooking NtCreateProcess due to conflict @0x00007ff8bc1dd6f5>
<intercept_syscall_wrapper: not hooking NtCreateProcessEx due to conflict @0x00007ff8bc1dca05>
<intercept_syscall_wrapper: not hooking NtCreateUserProcess due to conflict @0x00007ff8bc1dd8d5>
<intercept_syscall_wrapper: not hooking NtCreateThread due to conflict @0x00007ff8bc1dca25>
<intercept_syscall_wrapper: not hooking NtCreateThreadEx due to conflict @0x00007ff8bc1dd7f5>
<intercept_syscall_wrapper: not hooking NtAllocateVirtualMemory due to conflict @0x00007ff8bc1dc365>
<intercept_syscall_wrapper: not hooking NtFreeVirtualMemory due to conflict @0x00007ff8bc1dc425>
<intercept_syscall_wrapper: not hooking NtProtectVirtualMemory due to conflict @0x00007ff8bc1dca65>
<intercept_syscall_wrapper: not hooking NtMapViewOfSection due to conflict @0x00007ff8bc1dc565>
<intercept_syscall_wrapper: not hooking NtUnmapViewOfSection due to conflict @0x00007ff8bc1dc5a5>
~~Dr.M~~ ASSERT FAILURE (thread 51404): ..\..\drmemory\syscall_windows.c:151: opc_is_in_syscall_wrapper(opc) (unknown system call sequence)
~~Dr.M~~ WARNING: application exited with abnormal code 0xffffffff

当尝试使用以下 gcc 标志运行在 MSYS2 中的 mingw64 上编译的 ac 程序时:

-DCURL_STATICLIB -g -static -static-libgcc -Wall -I$(INCLUDE) -lcurl -lssl -lcrypto -lz -lcrypt32 -lws2_32 -lWldap32 -lshlwapi

这似乎与我的程序有关,因为它不会因其他程序而崩溃。我还尝试了一个具有相同编译标志但没有代码可运行的程序,它仍然崩溃

所以我认为它不喜欢我正在链接的东西。

4

0 回答 0