forked from Public-Mirror/Textractor
fix thread saving on x64
This commit is contained in:
parent
72b9a1f8ed
commit
f21db0925c
@ -108,7 +108,7 @@ void MainWindow::ProcessConnected(DWORD processId)
|
|||||||
if (hookList != allProcesses.rend())
|
if (hookList != allProcesses.rend())
|
||||||
for (auto hookInfo : hookList->split(" , "))
|
for (auto hookInfo : hookList->split(" , "))
|
||||||
if (auto hp = Util::ParseCode(S(hookInfo))) Host::InsertHook(processId, hp.value());
|
if (auto hp = Util::ParseCode(S(hookInfo))) Host::InsertHook(processId, hp.value());
|
||||||
else swscanf_s(S(hookInfo).c_str(), L"|%I64d:%I64d:%[^\n]", &savedThreadCtx.first, &savedThreadCtx.second, savedThreadCode, ARRAYSIZE(savedThreadCode));
|
else swscanf_s(S(hookInfo).c_str(), L"|%I64d:%I64d:%[^\n]", &savedThreadCtx.first, &savedThreadCtx.second, savedThreadCode, (unsigned)ARRAYSIZE(savedThreadCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::ProcessDisconnected(DWORD processId)
|
void MainWindow::ProcessDisconnected(DWORD processId)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user