BinaryNinja::LinearViewCursor Class Reference

Public Member Functions

 LinearViewCursor (LinearViewObject *root)
 
 LinearViewCursor (BNLinearViewCursor *cursor)
 
bool IsBeforeBegin () const
 
bool IsAfterEnd () const
 
bool IsValid () const
 
Ref< LinearViewObjectGetCurrentObject () const
 
std::vector< LinearViewObjectIdentifierGetPath () const
 
std::vector< Ref< LinearViewObject > > GetPathObjects () const
 
BNAddressRange GetOrderingIndex () const
 
uint64_t GetOrderingIndexTotal () const
 
void SeekToBegin ()
 
void SeekToEnd ()
 
void SeekToAddress (uint64_t addr)
 
bool SeekToPath (const std::vector< LinearViewObjectIdentifier > &path)
 
bool SeekToPath (const std::vector< LinearViewObjectIdentifier > &path, uint64_t addr)
 
bool SeekToPath (LinearViewCursor *cursor)
 
bool SeekToPath (LinearViewCursor *cursor, uint64_t addr)
 
void SeekToOrderingIndex (uint64_t idx)
 
bool Next ()
 
bool Previous ()
 
std::vector< LinearDisassemblyLineGetLines ()
 
Ref< LinearViewCursorDuplicate ()
 
- Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNLinearViewCursor, BNNewLinearViewCursorReference, BNFreeLinearViewCursor >
 CoreRefCountObject ()
 
virtual ~CoreRefCountObject ()
 
BNLinearViewCursor * GetObject () const
 
void AddRef ()
 
void Release ()
 
void AddRefForRegistration ()
 
void ReleaseForRegistration ()
 

Static Public Member Functions

static int Compare (LinearViewCursor *a, LinearViewCursor *b)
 
- Static Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNLinearViewCursor, BNNewLinearViewCursorReference, BNFreeLinearViewCursor >
static BNLinearViewCursor * GetObject (CoreRefCountObject *obj)
 

Additional Inherited Members

- Public Attributes inherited from BinaryNinja::CoreRefCountObject< BNLinearViewCursor, BNNewLinearViewCursorReference, BNFreeLinearViewCursor >
std::atomic< int > m_refs
 
bool m_registeredRef
 
BNLinearViewCursor * m_object
 

Constructor & Destructor Documentation

◆ LinearViewCursor() [1/2]

LinearViewCursor::LinearViewCursor ( LinearViewObject root)

◆ LinearViewCursor() [2/2]

LinearViewCursor::LinearViewCursor ( BNLinearViewCursor *  cursor)

Member Function Documentation

◆ Compare()

int LinearViewCursor::Compare ( LinearViewCursor a,
LinearViewCursor b 
)
static

◆ Duplicate()

Ref< LinearViewCursor > LinearViewCursor::Duplicate ( )

◆ GetCurrentObject()

Ref< LinearViewObject > LinearViewCursor::GetCurrentObject ( ) const

◆ GetLines()

vector< LinearDisassemblyLine > LinearViewCursor::GetLines ( )

◆ GetOrderingIndex()

BNAddressRange LinearViewCursor::GetOrderingIndex ( ) const

◆ GetOrderingIndexTotal()

uint64_t LinearViewCursor::GetOrderingIndexTotal ( ) const

◆ GetPath()

vector< LinearViewObjectIdentifier > LinearViewCursor::GetPath ( ) const

◆ GetPathObjects()

vector< Ref< LinearViewObject > > LinearViewCursor::GetPathObjects ( ) const

◆ IsAfterEnd()

bool LinearViewCursor::IsAfterEnd ( ) const

◆ IsBeforeBegin()

bool LinearViewCursor::IsBeforeBegin ( ) const

◆ IsValid()

bool LinearViewCursor::IsValid ( ) const

◆ Next()

bool LinearViewCursor::Next ( )

◆ Previous()

bool LinearViewCursor::Previous ( )

◆ SeekToAddress()

void LinearViewCursor::SeekToAddress ( uint64_t  addr)

◆ SeekToBegin()

void LinearViewCursor::SeekToBegin ( )

◆ SeekToEnd()

void LinearViewCursor::SeekToEnd ( )

◆ SeekToOrderingIndex()

void LinearViewCursor::SeekToOrderingIndex ( uint64_t  idx)

◆ SeekToPath() [1/4]

bool BinaryNinja::LinearViewCursor::SeekToPath ( const std::vector< LinearViewObjectIdentifier > &  path)

◆ SeekToPath() [2/4]

bool BinaryNinja::LinearViewCursor::SeekToPath ( const std::vector< LinearViewObjectIdentifier > &  path,
uint64_t  addr 
)

◆ SeekToPath() [3/4]

bool LinearViewCursor::SeekToPath ( LinearViewCursor cursor)

◆ SeekToPath() [4/4]

bool LinearViewCursor::SeekToPath ( LinearViewCursor cursor,
uint64_t  addr 
)

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