XrefItem Class Reference

Public Types

enum  XrefDirection { Forward , Backward }
 
enum  XrefType { DataXrefType , CodeXrefType , VariableXrefType , TypeXrefType }
 

Public Member Functions

 XrefItem ()
 
 XrefItem (XrefHeader *parent, XrefType type, FunctionRef func)
 
 XrefItem (BinaryNinja::ReferenceSource ref, XrefType type, XrefDirection direction)
 
 XrefItem (uint64_t addr, XrefType type, XrefDirection direction)
 
 XrefItem (BinaryNinja::TypeReferenceSource ref, XrefType type, XrefDirection direction)
 
 XrefItem (BinaryNinja::Variable var, BinaryNinja::ILReferenceSource ref, XrefType type, XrefDirection direction)
 
 XrefItem (const XrefItem &ref)
 
virtual ~XrefItem ()
 
XrefDirection direction () const
 
const FunctionReffunc () const
 
const ArchitectureRefarch () const
 
uint64_t addr () const
 
BinaryNinja::QualifiedName typeName () const
 
uint64_t offset () const
 
BinaryNinja::Variable variable () const
 
BNFunctionGraphType ilType () const
 
size_t instrId () const
 
XrefType type () const
 
int size () const
 
void setSize (int size) const
 
void setParent (XrefHeader *parent) const
 
virtual XrefItemparent () const
 
virtual XrefItemchild (int) const
 
virtual int childCount () const
 
int row () const
 
bool operator== (const XrefItem &other) const
 
bool operator!= (const XrefItem &other) const
 

Protected Attributes

FunctionRef m_func
 
ArchitectureRef m_arch
 
uint64_t m_addr
 
BinaryNinja::QualifiedName m_typeName
 
uint64_t m_offset
 
BinaryNinja::Variable m_var
 
BNFunctionGraphType m_ilType
 
size_t m_instrId
 
XrefType m_type
 
XrefDirection m_direction
 
XrefHeaderm_parentItem
 
int m_size
 

Member Enumeration Documentation

◆ XrefDirection

Enumerator
Forward 
Backward 

◆ XrefType

Enumerator
DataXrefType 
CodeXrefType 
VariableXrefType 
TypeXrefType 

Constructor & Destructor Documentation

◆ XrefItem() [1/7]

XrefItem::XrefItem ( )
explicit

◆ XrefItem() [2/7]

XrefItem::XrefItem ( XrefHeader parent,
XrefType  type,
FunctionRef  func 
)
explicit

◆ XrefItem() [3/7]

XrefItem::XrefItem ( BinaryNinja::ReferenceSource  ref,
XrefType  type,
XrefDirection  direction 
)
explicit

◆ XrefItem() [4/7]

XrefItem::XrefItem ( uint64_t  addr,
XrefType  type,
XrefDirection  direction 
)
explicit

◆ XrefItem() [5/7]

XrefItem::XrefItem ( BinaryNinja::TypeReferenceSource  ref,
XrefType  type,
XrefDirection  direction 
)
explicit

◆ XrefItem() [6/7]

XrefItem::XrefItem ( BinaryNinja::Variable  var,
BinaryNinja::ILReferenceSource  ref,
XrefType  type,
XrefDirection  direction 
)
explicit

◆ XrefItem() [7/7]

XrefItem::XrefItem ( const XrefItem ref)

◆ ~XrefItem()

virtual XrefItem::~XrefItem ( )
virtual

Member Function Documentation

◆ addr()

uint64_t XrefItem::addr ( ) const
inline

◆ arch()

const ArchitectureRef & XrefItem::arch ( ) const
inline

◆ child()

◆ childCount()

virtual int XrefItem::childCount ( ) const
inlinevirtual

◆ direction()

XrefDirection XrefItem::direction ( ) const
inline

◆ func()

const FunctionRef & XrefItem::func ( ) const
inline

◆ ilType()

BNFunctionGraphType XrefItem::ilType ( ) const
inline

◆ instrId()

size_t XrefItem::instrId ( ) const
inline

◆ offset()

uint64_t XrefItem::offset ( ) const
inline

◆ operator!=()

bool XrefItem::operator!= ( const XrefItem other) const

◆ operator==()

bool XrefItem::operator== ( const XrefItem other) const

◆ parent()

virtual XrefItem * XrefItem::parent ( ) const
inlinevirtual

◆ row()

int XrefItem::row ( ) const

◆ setParent()

void XrefItem::setParent ( XrefHeader parent) const

◆ setSize()

void XrefItem::setSize ( int  size) const
inline

◆ size()

int XrefItem::size ( ) const
inline

◆ type()

XrefType XrefItem::type ( ) const
inline

◆ typeName()

BinaryNinja::QualifiedName XrefItem::typeName ( ) const
inline

◆ variable()

BinaryNinja::Variable XrefItem::variable ( ) const
inline

Member Data Documentation

◆ m_addr

uint64_t XrefItem::m_addr
protected

◆ m_arch

ArchitectureRef XrefItem::m_arch
protected

◆ m_direction

XrefDirection XrefItem::m_direction
protected

◆ m_func

FunctionRef XrefItem::m_func
protected

◆ m_ilType

BNFunctionGraphType XrefItem::m_ilType
protected

◆ m_instrId

size_t XrefItem::m_instrId
protected

◆ m_offset

uint64_t XrefItem::m_offset
protected

◆ m_parentItem

XrefHeader* XrefItem::m_parentItem
mutableprotected

◆ m_size

int XrefItem::m_size
mutableprotected

◆ m_type

XrefType XrefItem::m_type
protected

◆ m_typeName

BinaryNinja::QualifiedName XrefItem::m_typeName
protected

◆ m_var

BinaryNinja::Variable XrefItem::m_var
protected

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