From 37d52c95d94b8a586c5d59fb500a7b35f3e272dc Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Fri, 30 May 2025 14:21:14 -0600 Subject: Add UI action and API to flip conditions during HLIL restructuring --- function.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'function.cpp') 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> Function::GetMergedVariables() { size_t count; -- cgit v1.3.1