BinaryNinja::MemoryMap Class Reference

Public Member Functions

 MemoryMap (BNBinaryView *view)
 
 ~MemoryMap ()=default
 
bool AddBinaryMemoryRegion (const std::string &name, uint64_t start, Ref< BinaryView > source)
 
bool AddDataMemoryRegion (const std::string &name, uint64_t start, const DataBuffer &source)
 
bool AddRemoteMemoryRegion (const std::string &name, uint64_t start, FileAccessor *source)
 
bool RemoveMemoryRegion (const std::string &name)
 
bool IsMemoryRegionEnabled (const std::string &name, uint64_t start)
 
bool SetMemoryRegionEnabled (const std::string &name, uint64_t start, bool enabled)
 
bool SetMemoryRegionFill (const std::string &name, uint64_t start, uint8_t fill)
 
void Reset ()
 

Constructor & Destructor Documentation

◆ MemoryMap()

BinaryNinja::MemoryMap::MemoryMap ( BNBinaryView view)
inline

◆ ~MemoryMap()

BinaryNinja::MemoryMap::~MemoryMap ( )
default

Member Function Documentation

◆ AddBinaryMemoryRegion()

bool BinaryNinja::MemoryMap::AddBinaryMemoryRegion ( const std::string &  name,
uint64_t  start,
Ref< BinaryView source 
)
inline

◆ AddDataMemoryRegion()

bool BinaryNinja::MemoryMap::AddDataMemoryRegion ( const std::string &  name,
uint64_t  start,
const DataBuffer source 
)
inline

◆ AddRemoteMemoryRegion()

bool BinaryNinja::MemoryMap::AddRemoteMemoryRegion ( const std::string &  name,
uint64_t  start,
FileAccessor source 
)
inline

◆ RemoveMemoryRegion()

bool BinaryNinja::MemoryMap::RemoveMemoryRegion ( const std::string &  name)
inline

◆ IsMemoryRegionEnabled()

bool BinaryNinja::MemoryMap::IsMemoryRegionEnabled ( const std::string &  name,
uint64_t  start 
)
inline

◆ SetMemoryRegionEnabled()

bool BinaryNinja::MemoryMap::SetMemoryRegionEnabled ( const std::string &  name,
uint64_t  start,
bool  enabled 
)
inline

◆ SetMemoryRegionFill()

bool BinaryNinja::MemoryMap::SetMemoryRegionFill ( const std::string &  name,
uint64_t  start,
uint8_t  fill 
)
inline

◆ Reset()

void BinaryNinja::MemoryMap::Reset ( )
inline