diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2025-06-06 16:22:48 -0600 |
|---|---|---|
| committer | Rusty Wagner <rusty.wagner@gmail.com> | 2025-06-10 14:28:26 -0600 |
| commit | 3a1a81c3ddd8340432ecd2687d3a25195cc97d40 (patch) | |
| tree | cfc905bc5c8d14e2e4d344db4da04f202d47e80b /ui/linearview.h | |
| parent | d73188d9f304b242fa53594770806cd13bbe0259 (diff) | |
Add UI action and API to control switch recovery in HLIL
Diffstat (limited to 'ui/linearview.h')
| -rw-r--r-- | ui/linearview.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/linearview.h b/ui/linearview.h index eea40d7f..9ba28407 100644 --- a/ui/linearview.h +++ b/ui/linearview.h @@ -322,6 +322,8 @@ class BINARYNINJAUIAPI LinearView : public QAbstractScrollArea, public View, pub bool getCurrentConditionInverted(); std::optional<uint64_t> getCurrentEarlyReturnAddress(); BNEarlyReturn getCurrentEarlyReturn(); + std::optional<uint64_t> getCurrentSwitchRecoveryAddress(); + BNSwitchRecovery getCurrentSwitchRecovery(); void setDataButtonVisible(bool visible); std::optional<std::pair<BinaryNinja::Variable, BinaryNinja::Variable>> getMergeVariablesAtCurrentLocation(); @@ -415,6 +417,7 @@ private Q_SLOTS: void setCurrentExprFolding(BNExprFolding folding); void toggleConditionInverted(); void setCurrentEarlyReturn(BNEarlyReturn earlyReturn); + void setCurrentSwitchRecovery(BNSwitchRecovery recovery); Q_SIGNALS: void notifyResizeEvent(int width, int height); |
