From 2f3dc44b366272d1cee5e6e1609598625de9d400 Mon Sep 17 00:00:00 2001 From: KyleMiles Date: Wed, 22 May 2024 10:32:34 -0400 Subject: Plugin mananger : Remove license name field --- binaryninjaapi.h | 1 - binaryninjacore.h | 1 - pluginmanager.cpp | 5 ----- python/pluginmanager.py | 5 ----- 4 files changed, 12 deletions(-) diff --git a/binaryninjaapi.h b/binaryninjaapi.h index 0dd1b66b..7ef66012 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -15783,7 +15783,6 @@ namespace BinaryNinja { std::string GetPluginDirectory() const; std::string GetAuthor() const; std::string GetDescription() const; - std::string GetLicense() const; std::string GetLicenseText() const; std::string GetLongdescription() const; std::string GetName() const; diff --git a/binaryninjacore.h b/binaryninjacore.h index b90641e1..e602fc74 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -6686,7 +6686,6 @@ extern "C" BINARYNINJACOREAPI char** BNPluginGetApis(BNRepoPlugin* p, size_t* count); BINARYNINJACOREAPI const char* BNPluginGetAuthor(BNRepoPlugin* p); BINARYNINJACOREAPI const char* BNPluginGetDescription(BNRepoPlugin* p); - BINARYNINJACOREAPI const char* BNPluginGetLicense(BNRepoPlugin* p); BINARYNINJACOREAPI const char* BNPluginGetLicenseText(BNRepoPlugin* p); BINARYNINJACOREAPI const char* BNPluginGetLongdescription(BNRepoPlugin* p); BINARYNINJACOREAPI uint64_t BNPluginGetMinimumVersion(BNRepoPlugin* p); diff --git a/pluginmanager.cpp b/pluginmanager.cpp index 6a72e69c..3c80ac11 100644 --- a/pluginmanager.cpp +++ b/pluginmanager.cpp @@ -70,11 +70,6 @@ string RepoPlugin::GetDescription() const RETURN_STRING(BNPluginGetDescription(m_object)); } -string RepoPlugin::GetLicense() const -{ - RETURN_STRING(BNPluginGetLicense(m_object)); -} - string RepoPlugin::GetLicenseText() const { RETURN_STRING(BNPluginGetLicenseText(m_object)); diff --git a/python/pluginmanager.py b/python/pluginmanager.py index 489cb7f7..07b3e43e 100644 --- a/python/pluginmanager.py +++ b/python/pluginmanager.py @@ -130,11 +130,6 @@ class RepoPlugin: """String short description of the plugin""" return core.BNPluginGetDescription(self.handle) - @property - def license(self) -> Optional[str]: - """String short license description (ie MIT, BSD, GPLv2, etc)""" - return core.BNPluginGetLicense(self.handle) - @property def license_text(self) -> Optional[str]: """String complete license text for the given plugin""" -- cgit v1.3.1