summaryrefslogtreecommitdiff
path: root/highlevelil.cpp
diff options
context:
space:
mode:
authorRyan Snyder <ryan@vector35.com>2025-01-24 17:57:26 -0500
committerRyan Snyder <ryan@vector35.com>2025-02-14 15:58:56 -0500
commitbcdc0d9b89605936a1cb6cf3ffaaece60d3c5777 (patch)
tree7286bd0963a49d9b90ddccf3a4b70b71c08e6ce5 /highlevelil.cpp
parent071811547bded7cf570125a03bb12d0b7c56a5ac (diff)
uidf refactor
Diffstat (limited to 'highlevelil.cpp')
-rw-r--r--highlevelil.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/highlevelil.cpp b/highlevelil.cpp
index 23587fca..b88e1a96 100644
--- a/highlevelil.cpp
+++ b/highlevelil.cpp
@@ -86,6 +86,20 @@ void HighLevelILFunction::SetRootExpr(const HighLevelILInstruction& expr)
}
+size_t HighLevelILFunction::CachePossibleValueSet(const PossibleValueSet& pvs)
+{
+ BNPossibleValueSet ugh = pvs.ToAPIObject();
+ return BNCacheHighLevelILPossibleValueSet(m_object, &ugh);
+}
+
+
+PossibleValueSet HighLevelILFunction::GetCachedPossibleValueSet(size_t idx)
+{
+ BNPossibleValueSet api = BNGetCachedHighLevelILPossibleValueSet(m_object, idx);
+ return PossibleValueSet::FromAPIObject(api);
+}
+
+
ExprId HighLevelILFunction::AddExpr(
BNHighLevelILOperation operation, size_t size, ExprId a, ExprId b, ExprId c, ExprId d, ExprId e)
{