summaryrefslogtreecommitdiff
path: root/ui/flowgraphwidget.h
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2024-01-15 10:10:19 -0500
committerPeter LaFosse <peter@vector35.com>2024-01-15 10:12:32 -0500
commitd2e0420679ad9cfc0a25ccf768cdfef7bb14c978 (patch)
treee0dc7a0ec63b8954066bbbc0e04f3d931e62380e /ui/flowgraphwidget.h
parent716e62cc3e1dc493c3065cd9cd4f183e540b52ef (diff)
Add 'Merge Variables Here' action
Diffstat (limited to 'ui/flowgraphwidget.h')
-rw-r--r--ui/flowgraphwidget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/flowgraphwidget.h b/ui/flowgraphwidget.h
index 631c58c8..c267a1d0 100644
--- a/ui/flowgraphwidget.h
+++ b/ui/flowgraphwidget.h
@@ -160,6 +160,7 @@ class BINARYNINJAUIAPI FlowGraphWidget :
void recenterUpdatedGraph(FlowGraphRef oldGraph, int oldXOfs, int oldYOfs);
BNDeadStoreElimination getCurrentVariableDeadStoreElimination();
+ std::optional<std::pair<BinaryNinja::Variable, BinaryNinja::Variable>> getMergeVariablesAtCurrentLocation();
protected:
virtual void paintEvent(QPaintEvent* event) override;
@@ -361,6 +362,7 @@ class BINARYNINJAUIAPI FlowGraphWidget :
void tagAddressAccepted(TagTypeRef tt);
void manageAddressTags();
void mergeVariables();
+ void mergeVariablesAtCurrentLocation();
void splitVariable();
void convertToNop();