From eb0aed7c4b15c37c46b15b5d9e32ceb93f2e1e95 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Tue, 1 Sep 2020 12:43:10 -0400 Subject: Add support for custom flowgraph edges --- binaryninjaapi.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'binaryninjaapi.h') 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 target; std::vector points; bool backEdge; + BNEdgeStyle style; }; class FlowGraphNode: public CoreRefCountObject& lines); const std::vector& GetOutgoingEdges(); const std::vector& GetIncomingEdges(); - void AddOutgoingEdge(BNBranchType type, FlowGraphNode* target); + void AddOutgoingEdge(BNBranchType type, FlowGraphNode* target, BNEdgeStyle edgeStyle = BNEdgeStyle()); BNHighlightColor GetHighlight() const; void SetHighlight(const BNHighlightColor& color); -- cgit v1.3.1