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 /function.cpp | |
| parent | 37d52c95d94b8a586c5d59fb500a7b35f3e272dc (diff) | |
Add UI action and API to control early returns in HLIL
Diffstat (limited to 'function.cpp')
| -rw-r--r-- | function.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/function.cpp b/function.cpp index fec9e108..5ce3a843 100644 --- a/function.cpp +++ b/function.cpp @@ -2837,6 +2837,18 @@ void Function::SetConditionInverted(uint64_t addr, bool invert) } +BNEarlyReturn Function::GetEarlyReturn(uint64_t addr) +{ + return BNGetEarlyReturn(m_object, addr); +} + + +void Function::SetEarlyReturn(uint64_t addr, BNEarlyReturn mode) +{ + BNSetEarlyReturn(m_object, addr, mode); +} + + std::map<Variable, std::set<Variable>> Function::GetMergedVariables() { size_t count; |
