#include <MemoryImpl.h>
Inheritance diagram for MemoryOsSpecific:
Public Member Functions | |
MemoryOsSpecific (const std::string file) | |
virtual | ~MemoryOsSpecific () |
virtual void | fillBuffer (u8 *buffer, u64 offset, unsigned int length) const |
virtual u8 | getByte (u64 offset) const |
virtual void | putByte (u64 offset, u8 value) const |
Private Member Functions | |
MemoryOsSpecific () | |
MemoryOsSpecific (const MemoryOsSpecific &source) | |
MemoryOsSpecific & | operator= (const MemoryOsSpecific &source) |
Private Attributes | |
void * | osData |
Definition at line 66 of file MemoryImpl.h.
MemoryOsSpecific | ( | const std::string | file | ) | [explicit] |
~MemoryOsSpecific | ( | ) | [virtual] |
Definition at line 70 of file Memory_Linux.cpp.
References LinuxData::fd, LinuxData::lastMapping, LinuxData::mappingSize, and MemoryOsSpecific::osData.
MemoryOsSpecific | ( | ) | [private] |
MemoryOsSpecific | ( | const MemoryOsSpecific & | source | ) | [private] |
void fillBuffer | ( | u8 * | buffer, | |
u64 | offset, | |||
unsigned int | length | |||
) | const [virtual] |
Implements IMemory.
Definition at line 80 of file Memory_Linux.cpp.
References _, LinuxData::fd, LinuxData::lastMappedOffset, LinuxData::lastMapping, LinuxData::mappingSize, and MemoryOsSpecific::osData.
Referenced by MemoryOsSpecific::getByte().
u8 getByte | ( | u64 | offset | ) | const [virtual] |
Implements IMemory.
Definition at line 109 of file Memory_Linux.cpp.
References MemoryOsSpecific::fillBuffer().
void putByte | ( | u64 | offset, | |
u8 | value | |||
) | const [virtual] |
Implements IMemory.
Definition at line 116 of file Memory_Linux.cpp.
References _, LinuxData::fd, and MemoryOsSpecific::osData.
MemoryOsSpecific& operator= | ( | const MemoryOsSpecific & | source | ) | [private] |
void* osData [private] |
Definition at line 78 of file MemoryImpl.h.
Referenced by MemoryOsSpecific::fillBuffer(), MemoryOsSpecific::putByte(), and MemoryOsSpecific::~MemoryOsSpecific().