mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-10 01:28:44 +02:00
fix(codegen): classify FF 3 and FF 5 as indirect call instead of return
This commit is contained in:
@@ -431,7 +431,11 @@ DecodedInstructionInfo X64InstructionDecoder::DecodeInstruction(
|
||||
return info;
|
||||
}
|
||||
if (reg == 3) {
|
||||
info.FlowKind = ControlFlowKind::Return;
|
||||
info.FlowKind = ControlFlowKind::IndirectCall;
|
||||
return info;
|
||||
}
|
||||
if (reg == 5) {
|
||||
info.FlowKind = ControlFlowKind::IndirectJump;
|
||||
return info;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user