Skip to content
Snippets Groups Projects
Commit a5b41798 authored by clc5q's avatar clc5q
Browse files

Safeguard CallTarget retrieval for resolved jump targets of fixed call jumps.

Former-commit-id: 97ffa506797bc106909ab4187978b2188a865586
parent 54dbf16d
No related branches found
No related tags found
No related merge requests found
...@@ -1904,7 +1904,7 @@ STARS_ea_t SMPInstr::GetJumpTarget(void) const { ...@@ -1904,7 +1904,7 @@ STARS_ea_t SMPInstr::GetJumpTarget(void) const {
if (UseOp->IsImmedOp()) { if (UseOp->IsImmedOp()) {
TargetAddr = (STARS_ea_t) UseOp->GetImmedValue(); TargetAddr = (STARS_ea_t) UseOp->GetImmedValue();
} }
else { else if (UseOp->IsNearPointer() || UseOp->IsFarPointer()) {
TargetAddr = UseOp->GetAddr(); TargetAddr = UseOp->GetAddr();
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment