summaryrefslogtreecommitdiff
path: root/ui/flowgraphwidget.h
diff options
context:
space:
mode:
authorRusty Wagner <rusty.wagner@gmail.com>2025-06-06 16:22:48 -0600
committerRusty Wagner <rusty.wagner@gmail.com>2025-06-10 14:28:26 -0600
commit3a1a81c3ddd8340432ecd2687d3a25195cc97d40 (patch)
treecfc905bc5c8d14e2e4d344db4da04f202d47e80b /ui/flowgraphwidget.h
parentd73188d9f304b242fa53594770806cd13bbe0259 (diff)
Add UI action and API to control switch recovery in HLIL
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 d988da12..90b86000 100644
--- a/ui/flowgraphwidget.h
+++ b/ui/flowgraphwidget.h
@@ -172,6 +172,8 @@ class BINARYNINJAUIAPI FlowGraphWidget :
bool getCurrentConditionInverted();
std::optional<uint64_t> getCurrentEarlyReturnAddress();
BNEarlyReturn getCurrentEarlyReturn();
+ std::optional<uint64_t> getCurrentSwitchRecoveryAddress();
+ BNSwitchRecovery getCurrentSwitchRecovery();
std::optional<std::pair<BinaryNinja::Variable, BinaryNinja::Variable>> getMergeVariablesAtCurrentLocation();
protected:
@@ -404,6 +406,7 @@ class BINARYNINJAUIAPI FlowGraphWidget :
void setCurrentExprFolding(BNExprFolding folding);
void toggleConditionInverted();
void setCurrentEarlyReturn(BNEarlyReturn earlyReturn);
+ void setCurrentSwitchRecovery(BNSwitchRecovery recovery);
void splitToNewTabAndNavigateFromCursorPosition();
void splitToNewWindowAndNavigateFromCursorPosition();
void splitToNewPaneAndNavigateFromCursorPosition();