FirmwareNinjaReferenceNode is a class used to build reference trees for memory regions, functions, and data variables. More...
FirmwareNinjaReferenceNode is a class used to build reference trees for memory regions, functions, and data variables.
This class is only available in the Ultimate Edition of Binary Ninja.
Public Member Functions | |
FirmwareNinjaReferenceNode (BNFirmwareNinjaReferenceNode *node) | |
~FirmwareNinjaReferenceNode () | |
bool | IsFunction () |
Returns true if the reference tree node contains a function. | |
bool | IsDataVariable () |
Returns true if the reference tree node contains a data variable. | |
bool | HasChildren () |
Returns true if the reference tree node contains child nodes. | |
bool | GetFunction (Ref< Function > &function) |
Get the function contained in the reference tree node. | |
bool | GetDataVariable (DataVariable &variable) |
Get the data variable contained in the reference tree node. | |
std::vector< Ref< FirmwareNinjaReferenceNode > > | GetChildren () |
Get the child nodes contained in the reference tree node. | |
![]() | |
CoreRefCountObject () | |
virtual | ~CoreRefCountObject () |
BNFirmwareNinjaReferenceNode * | GetObject () const |
void | AddRef () |
void | Release () |
void | AddRefForRegistration () |
void | ReleaseForRegistration () |
void | AddRefForCallback () |
void | ReleaseForCallback () |
Additional Inherited Members | |
![]() | |
static BNFirmwareNinjaReferenceNode * | GetObject (CoreRefCountObject *obj) |
static BNFirmwareNinjaReferenceNode * | GetObject (const CoreRefCountObject *obj) |
![]() | |
std::atomic< int > | m_refs |
bool | m_registeredRef |
BNFirmwareNinjaReferenceNode * | m_object |
FirmwareNinjaReferenceNode::FirmwareNinjaReferenceNode | ( | BNFirmwareNinjaReferenceNode * | node | ) |
FirmwareNinjaReferenceNode::~FirmwareNinjaReferenceNode | ( | ) |
bool FirmwareNinjaReferenceNode::IsFunction | ( | ) |
Returns true if the reference tree node contains a function.
bool FirmwareNinjaReferenceNode::IsDataVariable | ( | ) |
Returns true if the reference tree node contains a data variable.
bool FirmwareNinjaReferenceNode::HasChildren | ( | ) |
Returns true if the reference tree node contains child nodes.
Get the function contained in the reference tree node.
function | Output function object |
bool FirmwareNinjaReferenceNode::GetDataVariable | ( | DataVariable & | variable | ) |
Get the data variable contained in the reference tree node.
function | Output data variable object |
std::vector< Ref< FirmwareNinjaReferenceNode > > FirmwareNinjaReferenceNode::GetChildren | ( | ) |
Get the child nodes contained in the reference tree node.