BinaryNinja::ScriptingProvider Class Referenceabstract

Public Member Functions

virtual Ref< ScriptingInstanceCreateNewInstance ()=0
 
virtual bool LoadModule (const std::string &repository, const std::string &module, bool force)=0
 
virtual bool InstallModules (const std::string &modules)=0
 
std::string GetName ()
 
std::string GetAPIName ()
 
- Public Member Functions inherited from BinaryNinja::StaticCoreRefCountObject< BNScriptingProvider >
 StaticCoreRefCountObject ()
 
virtual ~StaticCoreRefCountObject ()
 
BNScriptingProvider * GetObject () const
 
void AddRef ()
 
void Release ()
 
void AddRefForRegistration ()
 

Static Public Member Functions

static std::vector< Ref< ScriptingProvider > > GetList ()
 
static Ref< ScriptingProviderGetByName (const std::string &name)
 
static Ref< ScriptingProviderGetByAPIName (const std::string &apiName)
 
static void Register (ScriptingProvider *provider)
 
- Static Public Member Functions inherited from BinaryNinja::StaticCoreRefCountObject< BNScriptingProvider >
static BNScriptingProvider * GetObject (StaticCoreRefCountObject *obj)
 

Protected Member Functions

 ScriptingProvider (const std::string &name, const std::string &apiName)
 
 ScriptingProvider (BNScriptingProvider *provider)
 

Static Protected Member Functions

static BNScriptingInstance * CreateInstanceCallback (void *ctxt)
 
static bool LoadModuleCallback (void *ctxt, const char *repository, const char *module, bool force)
 
static bool InstallModulesCallback (void *ctxt, const char *modules)
 

Additional Inherited Members

- Public Attributes inherited from BinaryNinja::StaticCoreRefCountObject< BNScriptingProvider >
std::atomic< int > m_refs
 
BNScriptingProvider * m_object
 

Constructor & Destructor Documentation

◆ ScriptingProvider() [1/2]

BinaryNinja::ScriptingProvider::ScriptingProvider ( const std::string &  name,
const std::string &  apiName 
)
protected

◆ ScriptingProvider() [2/2]

ScriptingProvider::ScriptingProvider ( BNScriptingProvider *  provider)
protected

Member Function Documentation

◆ CreateInstanceCallback()

BNScriptingInstance * ScriptingProvider::CreateInstanceCallback ( void *  ctxt)
staticprotected

◆ CreateNewInstance()

virtual Ref< ScriptingInstance > BinaryNinja::ScriptingProvider::CreateNewInstance ( )
pure virtual

◆ GetAPIName()

string ScriptingProvider::GetAPIName ( )

◆ GetByAPIName()

Ref< ScriptingProvider > ScriptingProvider::GetByAPIName ( const std::string &  apiName)
static

◆ GetByName()

Ref< ScriptingProvider > ScriptingProvider::GetByName ( const std::string &  name)
static

◆ GetList()

vector< Ref< ScriptingProvider > > ScriptingProvider::GetList ( )
static

◆ GetName()

string ScriptingProvider::GetName ( )

◆ InstallModules()

virtual bool BinaryNinja::ScriptingProvider::InstallModules ( const std::string &  modules)
pure virtual

◆ InstallModulesCallback()

bool ScriptingProvider::InstallModulesCallback ( void *  ctxt,
const char *  modules 
)
staticprotected

◆ LoadModule()

virtual bool BinaryNinja::ScriptingProvider::LoadModule ( const std::string &  repository,
const std::string &  module,
bool  force 
)
pure virtual

◆ LoadModuleCallback()

bool ScriptingProvider::LoadModuleCallback ( void *  ctxt,
const char *  repository,
const char *  module,
bool  force 
)
staticprotected

◆ Register()

void ScriptingProvider::Register ( ScriptingProvider provider)
static

The documentation for this class was generated from the following files: