1
0
Fork 0

Remove the hack fix for pop

This commit is contained in:
G0lge 2024-06-16 20:45:46 +03:00
parent 48c13510d7
commit aff9c52bcf
1 changed files with 0 additions and 7 deletions

View File

@ -308,13 +308,6 @@ void TraceRecordManager::TraceExecuteRecord(const Zydis & newInstruction)
newMemoryAddress[--newMemoryArrayCount] = newContext.registers.regcontext.csp - sizeof(duint);
newMemoryArrayCount++;
}
else if(newInstruction.GetId() == ZYDIS_MNEMONIC_POP || newInstruction.GetId() == ZYDIS_MNEMONIC_POPF || newInstruction.GetId() == ZYDIS_MNEMONIC_POPFD
|| newInstruction.GetId() == ZYDIS_MNEMONIC_POPFQ || newInstruction.GetId() == ZYDIS_MNEMONIC_RET)
{
MemRead(newContext.registers.regcontext.csp, &newMemory[newMemoryArrayCount], sizeof(duint));
newMemoryAddress[--newMemoryArrayCount] = newContext.registers.regcontext.csp;
newMemoryArrayCount++;
}
//TODO: PUSHAD/POPAD
assert(newMemoryArrayCount < memoryArrayCount);
}