ROSE 0.11.145.277
|
Represents the entries in the table.
Each entry has a unique starting address in memory.
Definition at line 30 of file MemoryTable.h.
#include <Rose/BinaryAnalysis/Partitioner2/MemoryTable.h>
Public Types | |
using | Ptr = std::shared_ptr< Entries > |
Shared-ownership pointer. | |
Public Member Functions | |
bool | empty () const |
True if there are no entries. | |
virtual size_t | size () const =0 |
Number of entries stored. | |
virtual bool | maybeAppend (const MemoryTable *, Address entryAddr, const std::vector< uint8_t > &bytes)=0 |
Parse a table entry and append to this list if the entry is valid. | |
virtual bool | maybePrepend (const MemoryTable *, Address entryAddr, const std::vector< uint8_t > &bytes)=0 |
Parse a table entry and prepend to this list if the entry is valid. | |
using Rose::BinaryAnalysis::Partitioner2::MemoryTable::Entries::Ptr = std::shared_ptr<Entries> |
Shared-ownership pointer.
Definition at line 33 of file MemoryTable.h.
|
pure virtual |
Number of entries stored.
Implemented in Rose::BinaryAnalysis::Partitioner2::JumpTable::Entries.
|
pure virtual |
Parse a table entry and append to this list if the entry is valid.
Given the table entry address and bytes obtained from memory, parse the entry and append it to this object. Returns true if the entry is valid, false if invalid.
Implemented in Rose::BinaryAnalysis::Partitioner2::JumpTable::Entries.
|
pure virtual |
Parse a table entry and prepend to this list if the entry is valid.
Given the table entry address and bytes obtained from memory, parse the entry and prepend it to this object. Returns true if the entry is valid, false if invalid.
Implemented in Rose::BinaryAnalysis::Partitioner2::JumpTable::Entries.