Logo Search packages:      
Sourcecode: leaktracer version File versions  Download package

Classes | Public Member Functions | Private Types | Private Attributes

LeakTracer Class Reference

Collaboration diagram for LeakTracer:
Collaboration graph
[legend]

List of all members.

Classes

struct  Leak

Public Member Functions

void hexdump (const unsigned char *area, int size)
void initialize ()
void progAbort (abortReason_t reason)
void * registerAlloc (size_t size, bool type)
void registerFree (void *p, bool type)
void writeLeakReport ()

Private Types

enum  abortReason_t { OVERWRITE_MEMORY = 0x01, DELETE_NONEXISTENT = 0x02, NEW_DELETE_MISMATCH = 0x04 }

Private Attributes

unsigned int abortOn
int currentAllocated
bool destroyed
int firstFreeSpot
bool initialized
int * leakHash
Leakleaks
int leaksCount
int maxAllocated
int newCount
FILE * report
unsigned long totalAllocations

Detailed Description

Definition at line 89 of file LeakTracer.cc.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index