diff options
Diffstat (limited to 'highlevelil.cpp')
| -rw-r--r-- | highlevelil.cpp | 14 |
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) { |
