Watt-32 tcp/ip  2.2 dev-rel.10
Typedefs | Functions | Variables
fortify.h File Reference

Go to the source code of this file.

Typedefs

typedef void(* Fortify_NewHandlerFunc )(void)
 
typedef void(* Fortify_OutputFuncPtr )(const char *)
 

Functions

voidFortify_Allocate (size_t size, unsigned char allocator, unsigned long flags, const char *file, unsigned long line)
 
void Fortify_Deallocate (void *uptr, unsigned char deallocator, const char *file, unsigned long line)
 
unsigned long Fortify_CheckAllMemory (const char *file, unsigned long line)
 
unsigned long Fortify_ListAllMemory (const char *file, unsigned long line)
 
unsigned long Fortify_DumpAllMemory (const char *file, unsigned long line)
 
int Fortify_CheckPointer (void *uptr, const char *file, unsigned long line)
 
void Fortify_LabelPointer (void *uptr, const char *label, const char *file, unsigned long line)
 
unsigned char Fortify_EnterScope (const char *file, unsigned long line)
 
unsigned char Fortify_LeaveScope (const char *file, unsigned long line)
 
void Fortify_OutputStatistics (const char *file, unsigned long line)
 
unsigned long Fortify_GetCurrentAllocation (const char *file, unsigned long line)
 
void Fortify_SetAllocationLimit (unsigned long Limit, const char *file, unsigned long line)
 
int Fortify_SetFailRate (int Percent)
 
void Fortify_Disable (const char *file, unsigned long line)
 
void Fortify_Enable (const char *file, unsigned long line)
 
int Fortify_SetAllocateFailRate (int Percent)
 
Fortify_OutputFuncPtr Fortify_SetOutputFunc (Fortify_OutputFuncPtr Output)
 
voidFortify_malloc (size_t size, const char *file, unsigned long line)
 
voidFortify_realloc (void *ptr, size_t new_size, const char *file, unsigned long line)
 
voidFortify_calloc (size_t num, size_t size, const char *file, unsigned long line)
 
void Fortify_free (void *uptr, const char *file, unsigned long line)
 
char * Fortify_strdup (const char *oldStr, const char *file, unsigned long line)
 
voidoperator new (size_t size)
 
voidoperator new (size_t size, const char *file, unsigned long line)
 
void operator delete (void *pointer)
 
void Fortify_PreDelete (const char *file, unsigned long line)
 
void Fortify_PostDelete ()
 
voidoperator new[] (size_t size)
 
voidoperator new[] (size_t size, const char *file, unsigned long line)
 
void operator delete[] (void *pointer)
 
voidFortify_GlobalAlloc (UINT flags, DWORD size, const char *file, DWORD line)
 
BOOL Fortify_GlobalFree (void *ptr, const char *file, DWORD line)
 

Variables

int gbl_FortifyMagic
 

Detailed Description

V2.2 - All C & C++ source files to be fortified should #include this file

Definition in file fortify.h.