Loading...
Searching...
No Matches
BinaryNinja::CoreScriptingProvider Class Reference

Public Member Functions

 CoreScriptingProvider (BNScriptingProvider *provider)
 
virtual Ref< ScriptingInstanceCreateNewInstance () override
 
virtual bool LoadModule (const std::string &repository, const std::string &module, bool force) override
 
virtual bool InstallModules (const std::string &modules) override
 
- Public Member Functions inherited from BinaryNinja::ScriptingProvider
std::string GetName ()
 
std::string GetAPIName ()
 
- Public Member Functions inherited from BinaryNinja::StaticCoreRefCountObject< BNScriptingProvider >
 StaticCoreRefCountObject ()
 
virtual ~StaticCoreRefCountObject ()
 
BNScriptingProviderGetObject () const
 
void AddRef ()
 
void Release ()
 
void AddRefForRegistration ()
 
void AddRefForCallback ()
 
void ReleaseForCallback ()
 

Additional Inherited Members

- Static Public Member Functions inherited from BinaryNinja::ScriptingProvider
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 BNScriptingProviderGetObject (StaticCoreRefCountObject *obj)
 
- Public Attributes inherited from BinaryNinja::StaticCoreRefCountObject< BNScriptingProvider >
std::atomic< int > m_refs
 
BNScriptingProviderm_object
 
- Protected Member Functions inherited from BinaryNinja::ScriptingProvider
 ScriptingProvider (const std::string &name, const std::string &apiName)
 
 ScriptingProvider (BNScriptingProvider *provider)
 
- Static Protected Member Functions inherited from BinaryNinja::ScriptingProvider
static BNScriptingInstanceCreateInstanceCallback (void *ctxt)
 
static bool LoadModuleCallback (void *ctxt, const char *repository, const char *module, bool force)
 
static bool InstallModulesCallback (void *ctxt, const char *modules)
 

Constructor & Destructor Documentation

◆ CoreScriptingProvider()

CoreScriptingProvider::CoreScriptingProvider ( BNScriptingProvider * provider)

Member Function Documentation

◆ CreateNewInstance()

Ref< ScriptingInstance > CoreScriptingProvider::CreateNewInstance ( )
overridevirtual

◆ LoadModule()

bool CoreScriptingProvider::LoadModule ( const std::string & repository,
const std::string & module,
bool force )
overridevirtual

◆ InstallModules()

bool CoreScriptingProvider::InstallModules ( const std::string & modules)
overridevirtual