diff options
Diffstat (limited to 'view/sharedcache/HeadlessPlugin.cpp')
| -rw-r--r-- | view/sharedcache/HeadlessPlugin.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/view/sharedcache/HeadlessPlugin.cpp b/view/sharedcache/HeadlessPlugin.cpp new file mode 100644 index 00000000..c49ace5a --- /dev/null +++ b/view/sharedcache/HeadlessPlugin.cpp @@ -0,0 +1,23 @@ +#include <binaryninjaapi.h> +#include "DSCView.h" +#include "SharedCache.h" + +#ifdef __cplusplus +extern "C" { +#endif + extern void RegisterSharedCacheWorkflow(); +#ifdef __cplusplus +} +#endif + +extern "C" +{ + BN_DECLARE_CORE_ABI_VERSION + + BINARYNINJAPLUGIN bool CorePluginInit() + { + InitDSCViewType(); + RegisterSharedCacheWorkflow(); + return true; + } +}
\ No newline at end of file |
