Skip to content
This repository has been archived by the owner on Apr 13, 2021. It is now read-only.

Commit

Permalink
Merge pull request #98 from ispras/dataflowjoin
Browse files Browse the repository at this point in the history
Fix dataflow gap
  • Loading branch information
0xFFFFFFFE authored Jul 13, 2016
2 parents 890e6ec + f355bd2 commit 356eaa8
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,10 @@ private static OperandGraphNode findDefinition(final OperandGraphNode search,
continue;
}

//don't link self-dependency
if(search.getInstruction() == instruction)
continue;

if (ReilHelpers.writesThirdOperand(instruction.getMnemonicCode())
&& instruction.getThirdOperand().getValue().equals(value)) {
final List<OperandGraphNode> nodes = graphMap.get(block).first();
Expand Down

0 comments on commit 356eaa8

Please sign in to comment.