diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2025-06-03 13:42:04 -0600 |
|---|---|---|
| committer | Rusty Wagner <rusty.wagner@gmail.com> | 2025-06-03 13:42:54 -0600 |
| commit | 9c8d4eac3dadf6273b34ba193c219de9283285b3 (patch) | |
| tree | d2df35ae70c77ef83dd320a29f97baa738a956d6 /ui/linearview.h | |
| parent | 37d52c95d94b8a586c5d59fb500a7b35f3e272dc (diff) | |
Add UI action and API to control early returns 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 2ea8e37f..eea40d7f 100644 --- a/ui/linearview.h +++ b/ui/linearview.h @@ -320,6 +320,8 @@ class BINARYNINJAUIAPI LinearView : public QAbstractScrollArea, public View, pub BNExprFolding getCurrentExprFolding(); std::optional<uint64_t> getCurrentInvertableConditionAddress(); bool getCurrentConditionInverted(); + std::optional<uint64_t> getCurrentEarlyReturnAddress(); + BNEarlyReturn getCurrentEarlyReturn(); void setDataButtonVisible(bool visible); std::optional<std::pair<BinaryNinja::Variable, BinaryNinja::Variable>> getMergeVariablesAtCurrentLocation(); @@ -412,6 +414,7 @@ private Q_SLOTS: void setCurrentVariableDeadStoreElimination(BNDeadStoreElimination elimination); void setCurrentExprFolding(BNExprFolding folding); void toggleConditionInverted(); + void setCurrentEarlyReturn(BNEarlyReturn earlyReturn); Q_SIGNALS: void notifyResizeEvent(int width, int height); |
