ROSE
0.9.6a
|
Go to the source code of this file.
Classes | |
class | MemoryMap |
An efficient mapping from an address space to stored data. More... | |
class | MemoryMap::Buffer |
Base class for data associated with a memory segment. More... | |
class | MemoryMap::NullBuffer |
Buffer that has no data. More... | |
class | MemoryMap::ExternBuffer |
Buffer of data owned by someone else. More... | |
class | MemoryMap::ByteBuffer |
Buffer of bytes. More... | |
class | MemoryMap::MmapBuffer |
Buffer whose underlying storage is from mmap. More... | |
class | MemoryMap::AnonymousBuffer |
Buffer of bytes. More... | |
class | MemoryMap::Segment |
A contiguous, homogeneous region of an address space. More... | |
class | MemoryMap::Visitor |
Visitor for traversing a memory map. More... | |
class | MemoryMap::Exception |
Exception for MemoryMap operations. More... | |
struct | MemoryMap::Inconsistent |
Exception for an inconsistent mapping. More... | |
struct | MemoryMap::NotMapped |
Exception for when we try to access a virtual address that isn't mapped. More... | |
struct | MemoryMap::NoFreeSpace |
Exception thrown by find_free() when there's not enough free space left. More... | |
struct | MemoryMap::SyntaxError |
Exception thrown by load() when there's a syntax error in the index file. More... | |
Macros | |
#define | ALIGN_UP(ADDR, ALMNT) ((((ADDR)+(ALMNT)-1)/(ALMNT))*(ALMNT)) |
#define | ALIGN_DN(ADDR, ALMNT) (((ADDR)/(ALMNT))*(ALMNT)) |
#define ALIGN_UP | ( | ADDR, | |
ALMNT | |||
) | ((((ADDR)+(ALMNT)-1)/(ALMNT))*(ALMNT)) |
Definition at line 8 of file MemoryMap.h.
Referenced by SgAsmGenericSection::align(), MemoryMap::find_free(), SgAsmPEImportItem::hintname_required_size(), SgAsmPEFileHeader::reallocate(), and Disassembler::search_words().
#define ALIGN_DN | ( | ADDR, | |
ALMNT | |||
) | (((ADDR)/(ALMNT))*(ALMNT)) |
Definition at line 11 of file MemoryMap.h.