LinearViewHistoryEntry Class Reference

Public Member Functions

const std::vector< BinaryNinja::LinearViewObjectIdentifier > & getTopPath () const
 
size_t getTopLineIndex () const
 
uint64_t getTopAddress () const
 
const std::vector< BinaryNinja::LinearViewObjectIdentifier > & getCursorPath () const
 
size_t getCursorLineIndex () const
 
uint64_t getCursorAddress () const
 
PlatformRef getPlatform () const
 
uint64_t getFunction () const
 
bool inFunction () const
 
const HighlightTokenStategetHighlightTokenState () const
 
void setTopPath (const std::vector< BinaryNinja::LinearViewObjectIdentifier > &path)
 
void setTopLineIndex (size_t offset)
 
void setTopAddress (uint64_t addr)
 
void setCursorPath (const std::vector< BinaryNinja::LinearViewObjectIdentifier > &path)
 
void setCursorLineIndex (size_t offset)
 
void setCursorAddress (uint64_t addr)
 
void setPlatform (PlatformRef platform)
 
void setFunction (uint64_t f)
 
void setInFunction (bool inFunc)
 
void setHighlightTokenState (const HighlightTokenState &state)
 
virtual Json::Value serialize () const override
 Serialize to json representation. More...
 
virtual bool deserialize (const Json::Value &value) override
 Deserialize from json representation. More...
 
- Public Member Functions inherited from HistoryEntry
virtual ~HistoryEntry ()
 
QString getViewType () const
 
void setViewType (const QString &type)
 
virtual Json::Value serialize () const
 Serialize to json representation. More...
 
virtual bool deserialize (const Json::Value &value)
 Deserialize from json representation. More...
 
- Public Member Functions inherited from BinaryNinja::RefCountObject
 RefCountObject ()
 
virtual ~RefCountObject ()
 
RefCountObjectGetObject ()
 
void AddRef ()
 
void Release ()
 

Additional Inherited Members

- Static Public Member Functions inherited from BinaryNinja::RefCountObject
static RefCountObjectGetObject (RefCountObject *obj)
 
- Public Attributes inherited from BinaryNinja::RefCountObject
std::atomic< int > m_refs
 

Member Function Documentation

◆ deserialize()

virtual bool LinearViewHistoryEntry::deserialize ( const Json::Value &  value)
overridevirtual

Deserialize from json representation.

This method should clear any previously entered data on the HistoryEntry as if it were newly created.

Parameters
valueJson representation of history entry. In the Python api, this will be a dict.
Returns
If deserialization was successful

Reimplemented from HistoryEntry.

◆ getCursorAddress()

uint64_t LinearViewHistoryEntry::getCursorAddress ( ) const
inline

◆ getCursorLineIndex()

size_t LinearViewHistoryEntry::getCursorLineIndex ( ) const
inline

◆ getCursorPath()

const std::vector< BinaryNinja::LinearViewObjectIdentifier > & LinearViewHistoryEntry::getCursorPath ( ) const
inline

◆ getFunction()

uint64_t LinearViewHistoryEntry::getFunction ( ) const
inline

◆ getHighlightTokenState()

const HighlightTokenState & LinearViewHistoryEntry::getHighlightTokenState ( ) const
inline

◆ getPlatform()

PlatformRef LinearViewHistoryEntry::getPlatform ( ) const
inline

◆ getTopAddress()

uint64_t LinearViewHistoryEntry::getTopAddress ( ) const
inline

◆ getTopLineIndex()

size_t LinearViewHistoryEntry::getTopLineIndex ( ) const
inline

◆ getTopPath()

const std::vector< BinaryNinja::LinearViewObjectIdentifier > & LinearViewHistoryEntry::getTopPath ( ) const
inline

◆ inFunction()

bool LinearViewHistoryEntry::inFunction ( ) const
inline

◆ serialize()

virtual Json::Value LinearViewHistoryEntry::serialize ( ) const
overridevirtual

Serialize to json representation.

Returns
Json representation of history entry. In the Python api, this must be a dict.

Reimplemented from HistoryEntry.

◆ setCursorAddress()

void LinearViewHistoryEntry::setCursorAddress ( uint64_t  addr)
inline

◆ setCursorLineIndex()

void LinearViewHistoryEntry::setCursorLineIndex ( size_t  offset)
inline

◆ setCursorPath()

void LinearViewHistoryEntry::setCursorPath ( const std::vector< BinaryNinja::LinearViewObjectIdentifier > &  path)
inline

◆ setFunction()

void LinearViewHistoryEntry::setFunction ( uint64_t  f)
inline

◆ setHighlightTokenState()

void LinearViewHistoryEntry::setHighlightTokenState ( const HighlightTokenState state)
inline

◆ setInFunction()

void LinearViewHistoryEntry::setInFunction ( bool  inFunc)
inline

◆ setPlatform()

void LinearViewHistoryEntry::setPlatform ( PlatformRef  platform)
inline

◆ setTopAddress()

void LinearViewHistoryEntry::setTopAddress ( uint64_t  addr)
inline

◆ setTopLineIndex()

void LinearViewHistoryEntry::setTopLineIndex ( size_t  offset)
inline

◆ setTopPath()

void LinearViewHistoryEntry::setTopPath ( const std::vector< BinaryNinja::LinearViewObjectIdentifier > &  path)
inline

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