Public Member Functions | |
CoreScriptingInstance (BNScriptingInstance *instance) | |
virtual | ~CoreScriptingInstance () |
virtual BNScriptingProviderExecuteResult | ExecuteScriptInput (const std::string &input) override |
virtual void | CancelScriptInput () override |
virtual void | SetCurrentBinaryView (BinaryView *view) override |
virtual void | SetCurrentFunction (Function *func) override |
virtual void | SetCurrentBasicBlock (BasicBlock *block) override |
virtual void | SetCurrentAddress (uint64_t addr) override |
virtual void | SetCurrentSelection (uint64_t begin, uint64_t end) override |
virtual std::string | CompleteInput (const std::string &text, uint64_t state) override |
virtual void | Stop () override |
Public Member Functions inherited from BinaryNinja::ScriptingInstance | |
virtual BNScriptingProviderExecuteResult | ExecuteScriptInput (const std::string &input)=0 |
virtual void | CancelScriptInput () |
virtual void | SetCurrentBinaryView (BinaryView *view) |
virtual void | SetCurrentFunction (Function *func) |
virtual void | SetCurrentBasicBlock (BasicBlock *block) |
virtual void | SetCurrentAddress (uint64_t addr) |
virtual void | SetCurrentSelection (uint64_t begin, uint64_t end) |
virtual std::string | CompleteInput (const std::string &text, uint64_t state) |
virtual void | Stop () |
void | Output (const std::string &text) |
void | Error (const std::string &text) |
void | InputReadyStateChanged (BNScriptingProviderInputReadyState state) |
BNScriptingProviderInputReadyState | GetInputReadyState () |
void | RegisterOutputListener (ScriptingOutputListener *listener) |
void | UnregisterOutputListener (ScriptingOutputListener *listener) |
std::string | GetDelimiters () |
void | SetDelimiters (const std::string &delimiters) |
Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNScriptingInstance, BNNewScriptingInstanceReference, BNFreeScriptingInstance > | |
CoreRefCountObject () | |
virtual | ~CoreRefCountObject () |
BNScriptingInstance * | GetObject () const |
void | AddRef () |
void | Release () |
void | AddRefForRegistration () |
void | ReleaseForRegistration () |
Additional Inherited Members | |
Static Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNScriptingInstance, BNNewScriptingInstanceReference, BNFreeScriptingInstance > | |
static BNScriptingInstance * | GetObject (CoreRefCountObject *obj) |
Public Attributes inherited from BinaryNinja::CoreRefCountObject< BNScriptingInstance, BNNewScriptingInstanceReference, BNFreeScriptingInstance > | |
std::atomic< int > | m_refs |
bool | m_registeredRef |
BNScriptingInstance * | m_object |
Protected Member Functions inherited from BinaryNinja::ScriptingInstance | |
ScriptingInstance (ScriptingProvider *provider) | |
ScriptingInstance (BNScriptingInstance *instance) | |
virtual void | DestroyInstance () |
Static Protected Member Functions inherited from BinaryNinja::ScriptingInstance | |
static void | DestroyInstanceCallback (void *ctxt) |
static BNScriptingProviderExecuteResult | ExecuteScriptInputCallback (void *ctxt, const char *input) |
static void | CancelScriptInputCallback (void *ctxt) |
static void | SetCurrentBinaryViewCallback (void *ctxt, BNBinaryView *view) |
static void | SetCurrentFunctionCallback (void *ctxt, BNFunction *func) |
static void | SetCurrentBasicBlockCallback (void *ctxt, BNBasicBlock *block) |
static void | SetCurrentAddressCallback (void *ctxt, uint64_t addr) |
static void | SetCurrentSelectionCallback (void *ctxt, uint64_t begin, uint64_t end) |
static char * | CompleteInputCallback (void *ctxt, const char *text, uint64_t state) |
static void | StopCallback (void *ctxt) |
CoreScriptingInstance::CoreScriptingInstance | ( | BNScriptingInstance * | instance | ) |
|
inlinevirtual |
|
overridevirtual |
Reimplemented from BinaryNinja::ScriptingInstance.
|
overridevirtual |
Reimplemented from BinaryNinja::ScriptingInstance.
|
overridevirtual |
Implements BinaryNinja::ScriptingInstance.
|
overridevirtual |
Reimplemented from BinaryNinja::ScriptingInstance.
|
overridevirtual |
Reimplemented from BinaryNinja::ScriptingInstance.
|
overridevirtual |
Reimplemented from BinaryNinja::ScriptingInstance.
|
overridevirtual |
Reimplemented from BinaryNinja::ScriptingInstance.
|
overridevirtual |
Reimplemented from BinaryNinja::ScriptingInstance.
|
overridevirtual |
Reimplemented from BinaryNinja::ScriptingInstance.