fix up
This commit is contained in:
@@ -487,6 +487,12 @@ auto Sandbox::SetupVirtualMachine() -> void {
|
||||
msr.value = m_tebBase;
|
||||
uc_reg_write(m_ucEngine, UC_X86_REG_MSR, &msr);
|
||||
}
|
||||
for (DWORD i = 0; i < 64; i++) {
|
||||
GetTeb64()->TlsSlots[i] = (void*)0x1337ffffff;
|
||||
}
|
||||
for (DWORD i = 0; i < 64; i++) {
|
||||
GetTeb32()->TlsSlots[i] = 0x1337;
|
||||
}
|
||||
}
|
||||
auto Sandbox::InitEnv(std::shared_ptr<BasicPeInfo> peInfo) -> void {
|
||||
m_peInfo = peInfo;
|
||||
|
||||
Reference in New Issue
Block a user