summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2020-09-01 12:43:10 -0400
committerPeter LaFosse <peter@vector35.com>2020-09-15 12:43:37 -0400
commiteb0aed7c4b15c37c46b15b5d9e32ceb93f2e1e95 (patch)
treed4f945eb4fed5b8cbe50ad61fe588d7a557b6ec0 /binaryninjaapi.h
parent75d05ea710f80a0ca2fdc53b638952a7a97e7ad8 (diff)
Add support for custom flowgraph edges
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 05924070..ddfa6340 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -3230,6 +3230,7 @@ __attribute__ ((format (printf, 1, 2)))
Ref<FlowGraphNode> target;
std::vector<BNPoint> points;
bool backEdge;
+ BNEdgeStyle style;
};
class FlowGraphNode: public CoreRefCountObject<BNFlowGraphNode,
@@ -3255,7 +3256,7 @@ __attribute__ ((format (printf, 1, 2)))
void SetLines(const std::vector<DisassemblyTextLine>& lines);
const std::vector<FlowGraphEdge>& GetOutgoingEdges();
const std::vector<FlowGraphEdge>& GetIncomingEdges();
- void AddOutgoingEdge(BNBranchType type, FlowGraphNode* target);
+ void AddOutgoingEdge(BNBranchType type, FlowGraphNode* target, BNEdgeStyle edgeStyle = BNEdgeStyle());
BNHighlightColor GetHighlight() const;
void SetHighlight(const BNHighlightColor& color);