summaryrefslogtreecommitdiff
path: root/ui/commands.h
diff options
context:
space:
mode:
authorRusty Wagner <rusty.wagner@gmail.com>2025-06-03 13:42:04 -0600
committerRusty Wagner <rusty.wagner@gmail.com>2025-06-03 13:42:54 -0600
commit9c8d4eac3dadf6273b34ba193c219de9283285b3 (patch)
treed2df35ae70c77ef83dd320a29f97baa738a956d6 /ui/commands.h
parent37d52c95d94b8a586c5d59fb500a7b35f3e272dc (diff)
Add UI action and API to control early returns in HLIL
Diffstat (limited to 'ui/commands.h')
-rw-r--r--ui/commands.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/commands.h b/ui/commands.h
index aed0fbf6..754d99a7 100644
--- a/ui/commands.h
+++ b/ui/commands.h
@@ -98,6 +98,7 @@ TypeRef GetFunctionType(BinaryViewRef data, TypeRef type);
std::optional<uint64_t> getFoldableExprAddress(
BinaryNinja::HighLevelILFunction* hlil, const HighlightTokenState& highlight);
std::optional<uint64_t> getInvertableConditionAddress(BinaryNinja::HighLevelILFunction* hlil, size_t instrIndex);
+std::optional<uint64_t> getEarlyReturnAddress(BinaryNinja::HighLevelILFunction* hlil, size_t instrIndex);
/*!
@}