summaryrefslogtreecommitdiff
path: root/languagerepresentation.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 /languagerepresentation.cpp
parente621ce147bac7fefd1823986eb2acbccd29897d6 (diff)
Decompile to C
Diffstat (limited to 'languagerepresentation.cpp')
-rw-r--r--languagerepresentation.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/languagerepresentation.cpp b/languagerepresentation.cpp
new file mode 100644
index 00000000..62f592e8
--- /dev/null
+++ b/languagerepresentation.cpp
@@ -0,0 +1,15 @@
+#include "binaryninjaapi.h"
+
+using namespace BinaryNinja;
+using namespace std;
+
+LanguageRepresentationFunction::LanguageRepresentationFunction(Architecture* arch, Function* func)
+{
+ m_object = BNCreateLanguageRepresentationFunction(arch->GetObject(), func ? func->GetObject() : nullptr);
+}
+
+
+LanguageRepresentationFunction::LanguageRepresentationFunction(BNLanguageRepresentationFunction* func)
+{
+ m_object = func;
+} \ No newline at end of file