Binary Ninja API C++: BinaryNinja::FirmwareNinjaReferenceNode Class Reference
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. | |
| Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNFirmwareNinjaReferenceNode, BNNewFirmwareNinjaReferenceNodeReference, BNFreeFirmwareNinjaReferenceNode > | |
| CoreRefCountObject () | |
| virtual | ~CoreRefCountObject () |
| BNFirmwareNinjaReferenceNode * | GetObject () const |
| void | AddRef () |
| void | Release () |
| void | AddRefForRegistration () |
| void | ReleaseForRegistration () |
| void | AddRefForCallback () |
| void | ReleaseForCallback () |
◆ ~FirmwareNinjaReferenceNode()
| FirmwareNinjaReferenceNode::~FirmwareNinjaReferenceNode | ( | ) |
◆ IsFunction()
| bool FirmwareNinjaReferenceNode::IsFunction | ( | ) |
Returns true if the reference tree node contains a function.
- Returns
- true if the reference tree node contains a function, false otherwise
◆ IsDataVariable()
| bool FirmwareNinjaReferenceNode::IsDataVariable | ( | ) |
Returns true if the reference tree node contains a data variable.
- Returns
- true if the reference tree node contains a data variable, false otherwise
◆ HasChildren()
| bool FirmwareNinjaReferenceNode::HasChildren | ( | ) |
Returns true if the reference tree node contains child nodes.
- Returns
- true if the reference tree node contains child nodes, false otherwise
◆ GetFunction()
Get the function contained in the reference tree node.
- Parameters
-
function Output function object
- Returns
- true if the function was queried successfully, false if the reference tree node does not contain a function
◆ GetDataVariable()
| bool FirmwareNinjaReferenceNode::GetDataVariable | ( | DataVariable & | variable | ) |
Get the data variable contained in the reference tree node.
- Parameters
-
function Output data variable object
- Returns
- true if the data variable was queried successfully, false if the reference tree node does not contain a data variable
◆ GetChildren()
| std::vector< Ref< FirmwareNinjaReferenceNode > > FirmwareNinjaReferenceNode::GetChildren | ( | ) |
Get the child nodes contained in the reference tree node.
- Returns
- Vector of child reference tree nodes