1
0
Fork 0

DBG: LinearPass: BASIC_BLOCK_FLAG_ABSJMP

This commit is contained in:
Nukem 2015-07-09 22:24:40 -04:00
parent f5c0d2fd01
commit 5f7c34f8aa
1 changed files with 4 additions and 0 deletions

View File

@ -207,6 +207,10 @@ void LinearPass::AnalysisWorker(uint Start, uint End, BBlockArray* Blocks)
{ {
// Branch target immediate // Branch target immediate
block->Target = operand.imm; block->Target = operand.imm;
// Check if abs jump
if(disasm.GetId() == X86_INS_JMP)
block->SetFlag(BASIC_BLOCK_FLAG_ABSJMP);
} }
else else
{ {