如何在调试器(64位)Win32 API VS 2015中访问XMM寄存器(32位)?

时间:2017-11-15 10:56:39

标签: c++ debugging winapi

我有一个64位调试器Win 8.1连接到32位进程。设置并点击BP后如何访问XMM寄存器(Intel i7-7500U)?

... 
HANDLE hThread;
WOW64_CONTEXT lcContext;

hThread = OpenThread(THREAD_GET_CONTEXT | THREAD_SET_CONTEXT, false, thID);
lcContext.ContextFlags = CONTEXT_ALL;
Wow64GetThreadContext(hThread, &lcContext);

// modify lcContext.xmm0 ???

Wow64SetThreadContext(hThread, &lcContext);
FlushInstructionCache(pHandle, NULL, 0);

...

0 个答案:

没有答案