Static Public Member Functions | |
void * | allocate (int size, const std::string &name, bool isArray=false) throw (std::bad_alloc) |
bool | release (void *address, bool isArray=false, int size=-1) throw (std::bad_alloc) |
bool | validate (void *address, int size, const std::string &name) throw (std::bad_alloc) |
bool | invalidate (void *address, int size) throw (std::bad_alloc) |
void * | checkAddrRange (void *address, long typesize) throw (std::bad_alloc) |
bool | checkAddr (void *address, void *reportAddr=0, bool checkAllMemory=true) throw (std::bad_alloc) |
bool | checkAllMemory () throw (std::bad_alloc) |
char * | getName (void *addr) |
long | getOffset (void *addr) |
bool | cleanup () |
void | menu () throw (std::bad_alloc) |
void | dump () |
void | dumpNamed () |
void | dumpDeallocated () |
void | handleError () throw (std::bad_alloc) |
Static Protected Member Functions | |
void | Logerr (char *errstr) |
void | entrylock () |
void | exitunlock () |
int | causefault () |
void | fill () |
bool | isOK () |
Static Protected Attributes | |
const Byte | Filling = 8 |
const Byte | Filler = 0xea |
const int | Magic = 13456 |
const int | External = 32768 |
const int | IsArray |
const int | IsNotArray |
const int | DList_Max = 1000 |
Byte | prefill [Filling] |
Byte | initialized |
bool | cleanedUp |
Int | entry |
Int | fullCheckCounter |
LInt | allocCount |
LInt | deallocCount |
LInt | checkCount |
AllocList | mlist |
AllocList | dlist |
Byte | postfill [Filling] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 91 of file MemoryTracer. References Filler, Filling, and base::Int. Referenced by isOK(). |
|
|
|
|
|
|
|
|
|
Definition at line 97 of file MemoryTracer. References base::Byte, fill(), Filler, Filling, initialized, base::Int, and Magic. |
|
|
|
|
|
|
|
|
|
Definition at line 194 of file MemoryTracer. |
|
Definition at line 196 of file MemoryTracer. |
|
Definition at line 191 of file MemoryTracer. |
|
Definition at line 195 of file MemoryTracer. |
|
Definition at line 199 of file MemoryTracer. |
|
Definition at line 186 of file MemoryTracer. |
|
Definition at line 192 of file MemoryTracer. |
|
Definition at line 114 of file MemoryTracer. |
|
Definition at line 112 of file MemoryTracer. |
|
Definition at line 111 of file MemoryTracer. |
|
Definition at line 193 of file MemoryTracer. |
|
Definition at line 190 of file MemoryTracer. Referenced by isOK(). |
|
Definition at line 116 of file MemoryTracer. |
|
Definition at line 117 of file MemoryTracer. |
|
Definition at line 113 of file MemoryTracer. Referenced by isOK(). |
|
Definition at line 198 of file MemoryTracer. |
|
Definition at line 201 of file MemoryTracer. |
|
Definition at line 188 of file MemoryTracer. |