diff options
| author | Rusty Wagner <rusty@vector35.com> | 2017-02-17 23:22:17 -0500 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2017-02-17 23:23:12 -0500 |
| commit | c46c3a9540f4d15eff8aa9660df69e374f7fd2f5 (patch) | |
| tree | 5ca970d051db42fb40061273e7ccfc1ae14e1c01 /functiongraphblock.cpp | |
| parent | 431dad36edd8c55a0c32759c7b939a5d017d5c46 (diff) | |
Add dominator APIs
Diffstat (limited to 'functiongraphblock.cpp')
| -rw-r--r-- | functiongraphblock.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/functiongraphblock.cpp b/functiongraphblock.cpp index db69c25a..a37c0b49 100644 --- a/functiongraphblock.cpp +++ b/functiongraphblock.cpp @@ -128,8 +128,7 @@ const vector<FunctionGraphEdge>& FunctionGraphBlock::GetOutgoingEdges() { FunctionGraphEdge edge; edge.type = edges[i].type; - edge.target = edges[i].target; - edge.arch = edges[i].arch ? new CoreArchitecture(edges[i].arch) : nullptr; + 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]); result.push_back(edge); } |
