#include <MemoryImpl.h>


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 |
| virtual int | incReopenHint () |
| virtual int | decReopenHint () |
Private Member Functions | |
| MemoryOsSpecific () | |
| MemoryOsSpecific (const MemoryOsSpecific &source) | |
| MemoryOsSpecific & | operator= (const MemoryOsSpecific &source) |
Private Attributes | |
| void * | osData |
Definition at line 69 of file MemoryImpl.h.
| MemoryOsSpecific | ( | const std::string | file | ) | [explicit] |
| ~MemoryOsSpecific | ( | ) | [virtual] |
Definition at line 100 of file Memory_Linux.cpp.
References memory::closeFd(), and MemoryOsSpecific::osData.

| MemoryOsSpecific | ( | ) | [private] |
| MemoryOsSpecific | ( | const MemoryOsSpecific & | source | ) | [private] |
| int decReopenHint | ( | ) | [virtual] |
Implements IMemory.
Definition at line 113 of file Memory_Linux.cpp.
References MemoryOsSpecific::osData, and LinuxData::reopenHint.
| void fillBuffer | ( | u8 * | buffer, | |
| u64 | offset, | |||
| unsigned int | length | |||
| ) | const [virtual] |
Implements IMemory.
Definition at line 119 of file Memory_Linux.cpp.
References _, memory::closeFd(), memory::condOpenFd(), LinuxData::fd, LinuxData::lastMappedOffset, LinuxData::lastMapping, LinuxData::mappingSize, MemoryOsSpecific::osData, and LinuxData::reopenHint.
Referenced by MemoryOsSpecific::getByte().

| u8 getByte | ( | u64 | offset | ) | const [virtual] |
Implements IMemory.
Definition at line 154 of file Memory_Linux.cpp.
References MemoryOsSpecific::fillBuffer().

| int incReopenHint | ( | ) | [virtual] |
Implements IMemory.
Definition at line 108 of file Memory_Linux.cpp.
References MemoryOsSpecific::osData, and LinuxData::reopenHint.
| MemoryOsSpecific& operator= | ( | const MemoryOsSpecific & | source | ) | [private] |
| void putByte | ( | u64 | offset, | |
| u8 | value | |||
| ) | const [virtual] |
Implements IMemory.
Definition at line 161 of file Memory_Linux.cpp.
References _, memory::closeFd(), memory::condOpenFd(), LinuxData::fd, MemoryOsSpecific::osData, and LinuxData::reopenHint.

void* osData [private] |
Definition at line 83 of file MemoryImpl.h.
Referenced by MemoryOsSpecific::decReopenHint(), MemoryOsSpecific::fillBuffer(), MemoryOsSpecific::incReopenHint(), MemoryOsSpecific::putByte(), and MemoryOsSpecific::~MemoryOsSpecific().
1.7.1