summaryrefslogtreecommitdiff
path: root/ui/flowgraphwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/flowgraphwidget.h')
-rw-r--r--ui/flowgraphwidget.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/flowgraphwidget.h b/ui/flowgraphwidget.h
index b69ec38b..d988da12 100644
--- a/ui/flowgraphwidget.h
+++ b/ui/flowgraphwidget.h
@@ -170,6 +170,8 @@ class BINARYNINJAUIAPI FlowGraphWidget :
BNExprFolding getCurrentExprFolding();
std::optional<uint64_t> getCurrentInvertableConditionAddress();
bool getCurrentConditionInverted();
+ std::optional<uint64_t> getCurrentEarlyReturnAddress();
+ BNEarlyReturn getCurrentEarlyReturn();
std::optional<std::pair<BinaryNinja::Variable, BinaryNinja::Variable>> getMergeVariablesAtCurrentLocation();
protected:
@@ -401,6 +403,7 @@ class BINARYNINJAUIAPI FlowGraphWidget :
void setCurrentVariableDeadStoreElimination(BNDeadStoreElimination elimination);
void setCurrentExprFolding(BNExprFolding folding);
void toggleConditionInverted();
+ void setCurrentEarlyReturn(BNEarlyReturn earlyReturn);
void splitToNewTabAndNavigateFromCursorPosition();
void splitToNewWindowAndNavigateFromCursorPosition();
void splitToNewPaneAndNavigateFromCursorPosition();