From bcdc0d9b89605936a1cb6cf3ffaaece60d3c5777 Mon Sep 17 00:00:00 2001 From: Ryan Snyder Date: Fri, 24 Jan 2025 17:57:26 -0500 Subject: uidf refactor --- lowlevelil.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'lowlevelil.cpp') diff --git a/lowlevelil.cpp b/lowlevelil.cpp index b69b8dc6..af24436c 100644 --- a/lowlevelil.cpp +++ b/lowlevelil.cpp @@ -296,6 +296,20 @@ std::vector LowLevelILFunction::GetSSAFlags() } +size_t LowLevelILFunction::CachePossibleValueSet(const PossibleValueSet& pvs) +{ + BNPossibleValueSet ugh = pvs.ToAPIObject(); + return BNCacheLowLevelILPossibleValueSet(m_object, &ugh); +} + + +PossibleValueSet LowLevelILFunction::GetCachedPossibleValueSet(size_t idx) +{ + BNPossibleValueSet api = BNGetCachedLowLevelILPossibleValueSet(m_object, idx); + return PossibleValueSet::FromAPIObject(api); +} + + ExprId LowLevelILFunction::AddExpr( BNLowLevelILOperation operation, size_t size, uint32_t flags, ExprId a, ExprId b, ExprId c, ExprId d) { -- cgit v1.3.1