From 453eb5bdc70513464c7137f910cba815289c97a0 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Fri, 26 Apr 2019 16:38:14 -0400 Subject: Don't let a node that hasn't been added to the graph be added as an edge target --- binaryninjaapi.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'binaryninjaapi.h') diff --git a/binaryninjaapi.h b/binaryninjaapi.h index 6a4b1bc1..1b0232fc 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -2742,6 +2742,8 @@ namespace BinaryNinja BNHighlightColor GetHighlight() const; void SetHighlight(const BNHighlightColor& color); + + bool IsValidForGraph(FlowGraph* graph) const; }; class FlowGraphLayoutRequest: public RefCountObject -- cgit v1.3.1