summaryrefslogtreecommitdiff
path: root/function.cpp
diff options
context:
space:
mode:
authorrose <47357290+rompse@users.noreply.github.com>2021-11-09 20:09:44 -0500
committerPeter LaFosse <peter@vector35.com>2022-01-17 12:11:20 -0500
commit9c7ed0cc4ebe08871a7b83e0f56a542c0f31f835 (patch)
treeef970623cda06a37fa2efc5e1b12105ef5766475 /function.cpp
parente621ce147bac7fefd1823986eb2acbccd29897d6 (diff)
Decompile to C
Diffstat (limited to 'function.cpp')
-rw-r--r--function.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/function.cpp b/function.cpp
index 0f70e939..9123c19e 100644
--- a/function.cpp
+++ b/function.cpp
@@ -699,6 +699,12 @@ Ref<HighLevelILFunction> Function::GetHighLevelILIfAvailable() const
}
+Ref<LanguageRepresentationFunction> Function::GetLanguageRepresentation() const
+{
+ return new LanguageRepresentationFunction(BNGetFunctionLanguageRepresentation(m_object));
+}
+
+
Ref<Type> Function::GetType() const
{
return new Type(BNGetFunctionType(m_object));