1
0
Fork 0

DBG: fix Zydis.BranchDestination

closes #1855
This commit is contained in:
Duncan Ogilvie 2017-12-28 21:34:47 +01:00
parent 7c0d122ee4
commit 42dc5f90e5
No known key found for this signature in database
GPG Key ID: FC89E0AAA0C1AAD8
1 changed files with 1 additions and 1 deletions

View File

@ -616,7 +616,7 @@ size_t Zydis::BranchDestination() const
{
if(!Success()
|| mInstr.operands[0].type != ZYDIS_OPERAND_TYPE_IMMEDIATE
|| !mInstr.operands[0].imm.isRelative)
/*|| !mInstr.operands[0].imm.isRelative HACKED*/)
return 0;
return size_t(mInstr.operands[0].imm.value.u);