summaryrefslogtreecommitdiff
path: root/plugins/rtti/plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/rtti/plugin.cpp')
-rw-r--r--plugins/rtti/plugin.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/rtti/plugin.cpp b/plugins/rtti/plugin.cpp
index faa741f1..8b2d9bb8 100644
--- a/plugins/rtti/plugin.cpp
+++ b/plugins/rtti/plugin.cpp
@@ -50,7 +50,11 @@ void VFTAnalysis(const Ref<AnalysisContext>& analysisContext)
extern "C" {
BN_DECLARE_CORE_ABI_VERSION
- BINARYNINJAPLUGIN bool CorePluginInit()
+#ifdef DEMO_EDITION
+ bool RTTIPluginInit()
+#else
+ BINARYNINJAPLUGIN bool CorePluginInit()
+#endif
{
// TODO: In the future we will have a function level workflow which:
// TODO: 1. Uses MSVC metadata to identify if a function is apart of a VFT