diff options
| author | Ryan Snyder <ryan@vector35.com> | 2025-01-24 17:57:26 -0500 |
|---|---|---|
| committer | Ryan Snyder <ryan@vector35.com> | 2025-02-14 15:58:56 -0500 |
| commit | bcdc0d9b89605936a1cb6cf3ffaaece60d3c5777 (patch) | |
| tree | 7286bd0963a49d9b90ddccf3a4b70b71c08e6ce5 /lowlevelil.cpp | |
| parent | 071811547bded7cf570125a03bb12d0b7c56a5ac (diff) | |
uidf refactor
Diffstat (limited to 'lowlevelil.cpp')
| -rw-r--r-- | lowlevelil.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lowlevelil.cpp b/lowlevelil.cpp index b69b8dc6..af24436c 100644 --- a/lowlevelil.cpp +++ b/lowlevelil.cpp @@ -296,6 +296,20 @@ std::vector<SSAFlag> 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) { |
