summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2017-09-21 16:36:18 -0400
committerPeter LaFosse <peter@vector35.com>2017-09-21 16:36:18 -0400
commit93879514f6167764e87a6bd0e223516ddc331455 (patch)
tree1366689a69deb514317d799f79703baa83402293 /python
parenteecc63abf9c528ab209d56fef62cb3be7518f4e2 (diff)
Bugfix for BasicBlock incoming edges source and target were swapped
Diffstat (limited to 'python')
-rw-r--r--python/basicblock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/basicblock.py b/python/basicblock.py
index 72f31876..26db925d 100644
--- a/python/basicblock.py
+++ b/python/basicblock.py
@@ -140,7 +140,7 @@ class BasicBlock(object):
target = self._create_instance(self.view, core.BNNewBasicBlockReference(edges[i].target))
else:
target = None
- result.append(BasicBlockEdge(branch_type, self, target, edges[i].backEdge))
+ result.append(BasicBlockEdge(branch_type, target, self, edges[i].backEdge))
core.BNFreeBasicBlockEdgeList(edges, count.value)
return result