summaryrefslogtreecommitdiff
path: root/highlevelil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'highlevelil.cpp')
-rw-r--r--highlevelil.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/highlevelil.cpp b/highlevelil.cpp
index 6c304d0e..a355c561 100644
--- a/highlevelil.cpp
+++ b/highlevelil.cpp
@@ -445,6 +445,13 @@ vector<DisassemblyTextLine> HighLevelILFunction::GetExprText(const HighLevelILIn
}
+vector<DisassemblyTextLine> HighLevelILFunction::GetInstructionText(size_t i, bool asFullAst)
+{
+ HighLevelILInstruction instr = GetInstruction(i);
+ return GetExprText(instr, asFullAst);
+}
+
+
Confidence<Ref<Type>> HighLevelILFunction::GetExprType(size_t expr)
{
BNTypeWithConfidence result = BNGetHighLevelILExprType(m_object, expr);