diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2025-05-30 14:21:14 -0600 |
|---|---|---|
| committer | Rusty Wagner <rusty.wagner@gmail.com> | 2025-06-03 13:42:54 -0600 |
| commit | 37d52c95d94b8a586c5d59fb500a7b35f3e272dc (patch) | |
| tree | e535f845fa0fd2947e245da187bde01604356c8d /function.cpp | |
| parent | 8ef932b35e76f670611b79a2fcba88c6f8e15169 (diff) | |
Add UI action and API to flip conditions during HLIL restructuring
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 756c9629..fec9e108 100644 --- a/function.cpp +++ b/function.cpp @@ -2825,6 +2825,18 @@ void Function::SetExprFolding(uint64_t addr, BNExprFolding mode) } +bool Function::IsConditionInverted(uint64_t addr) +{ + return BNIsConditionInverted(m_object, addr); +} + + +void Function::SetConditionInverted(uint64_t addr, bool invert) +{ + BNSetConditionInverted(m_object, addr, invert); +} + + std::map<Variable, std::set<Variable>> Function::GetMergedVariables() { size_t count; |
