summaryrefslogtreecommitdiff
path: root/function.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'function.cpp')
-rw-r--r--function.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/function.cpp b/function.cpp
index 0cffb6bc..304a59e2 100644
--- a/function.cpp
+++ b/function.cpp
@@ -545,6 +545,18 @@ Ref<MediumLevelILFunction> Function::GetMediumLevelILIfAvailable() const
}
+Ref<HighLevelILFunction> Function::GetHighLevelIL() const
+{
+ return new HighLevelILFunction(BNGetFunctionHighLevelIL(m_object));
+}
+
+
+Ref<HighLevelILFunction> Function::GetHighLevelILIfAvailable() const
+{
+ return new HighLevelILFunction(BNGetFunctionHighLevelILIfAvailable(m_object));
+}
+
+
Ref<Type> Function::GetType() const
{
return new Type(BNGetFunctionType(m_object));