From d2e0420679ad9cfc0a25ccf768cdfef7bb14c978 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Mon, 15 Jan 2024 10:10:19 -0500 Subject: Add 'Merge Variables Here' action --- ui/flowgraphwidget.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ui/flowgraphwidget.h') 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> 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(); -- cgit v1.3.1