summaryrefslogtreecommitdiff
path: root/functiongraphblock.cpp
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2017-06-27 22:44:07 -0400
committerRusty Wagner <rusty@vector35.com>2017-06-27 22:44:07 -0400
commit5352b89b827c4f33fadbb21be19222eb2b714cc4 (patch)
treeda453e497860a69af149b64b2b23ba750bd56007 /functiongraphblock.cpp
parentcca0fe6ea60eb7f6b35cc433a6fff96cc65b3ff8 (diff)
Compute back edges in the core
Diffstat (limited to 'functiongraphblock.cpp')
-rw-r--r--functiongraphblock.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/functiongraphblock.cpp b/functiongraphblock.cpp
index 99ce2e08..938fb635 100644
--- a/functiongraphblock.cpp
+++ b/functiongraphblock.cpp
@@ -130,6 +130,7 @@ const vector<FunctionGraphEdge>& FunctionGraphBlock::GetOutgoingEdges()
edge.type = edges[i].type;
edge.target = edges[i].target ? new BasicBlock(BNNewBasicBlockReference(edges[i].target)) : nullptr;
edge.points.insert(edge.points.begin(), &edges[i].points[0], &edges[i].points[edges[i].pointCount]);
+ edge.backEdge = edges[i].backEdge;
result.push_back(edge);
}