- Adapted indenation to new agreed upon system
- Added support for second generation scriptcontext based counter
This commit is contained in:
34
ufortify.h
34
ufortify.h
@ -9,29 +9,29 @@
|
||||
|
||||
#define FORTIFY_STORAGE
|
||||
|
||||
#define FORTIFY_BEFORE_SIZE 16 /* Bytes to allocate before block */
|
||||
#define FORTIFY_BEFORE_VALUE 0xA3 /* Fill value before block */
|
||||
|
||||
#define FORTIFY_AFTER_SIZE 16 /* Bytes to allocate after block */
|
||||
#define FORTIFY_AFTER_VALUE 0xA5 /* Fill value after block */
|
||||
#define FORTIFY_BEFORE_SIZE 16 /* Bytes to allocate before block */
|
||||
#define FORTIFY_BEFORE_VALUE 0xA3 /* Fill value before block */
|
||||
|
||||
#define FILL_ON_MALLOC /* Nuke out malloc'd memory */
|
||||
#define FILL_ON_MALLOC_VALUE 0xA7 /* Value to initialize with */
|
||||
#define FORTIFY_AFTER_SIZE 16 /* Bytes to allocate after block */
|
||||
#define FORTIFY_AFTER_VALUE 0xA5 /* Fill value after block */
|
||||
|
||||
#define FILL_ON_FREE /* free'd memory is cleared */
|
||||
#define FILL_ON_FREE_VALUE 0xA9 /* Value to de-initialize with */
|
||||
#define FILL_ON_MALLOC /* Nuke out malloc'd memory */
|
||||
#define FILL_ON_MALLOC_VALUE 0xA7 /* Value to initialize with */
|
||||
|
||||
#define CHECK_ALL_MEMORY_ON_MALLOC
|
||||
#define CHECK_ALL_MEMORY_ON_FREE
|
||||
#define FILL_ON_FREE /* free'd memory is cleared */
|
||||
#define FILL_ON_FREE_VALUE 0xA9 /* Value to de-initialize with */
|
||||
|
||||
#define CHECK_ALL_MEMORY_ON_MALLOC
|
||||
#define CHECK_ALL_MEMORY_ON_FREE
|
||||
/*
|
||||
#define PARANOID_FREE
|
||||
*/
|
||||
|
||||
#define WARN_ON_MALLOC_FAIL /* A debug is issued on a failed malloc */
|
||||
#define WARN_ON_ZERO_MALLOC /* A debug is issued on a malloc(0) */
|
||||
#define WARN_ON_FALSE_FAIL /* See Fortify_SetMallocFailRate */
|
||||
#define WARN_ON_SIZE_T_OVERFLOW/* Watch for breaking the 64K limit in */
|
||||
#define WARN_ON_MALLOC_FAIL /* A debug is issued on a failed malloc */
|
||||
#define WARN_ON_ZERO_MALLOC /* A debug is issued on a malloc(0) */
|
||||
#define WARN_ON_FALSE_FAIL /* See Fortify_SetMallocFailRate */
|
||||
#define WARN_ON_SIZE_T_OVERFLOW /* Watch for breaking the 64K limit in */
|
||||
/* some braindead architectures... */
|
||||
|
||||
#define FORTIFY_LOCK()
|
||||
#define FORTIFY_UNLOCK()
|
||||
#define FORTIFY_LOCK()
|
||||
#define FORTIFY_UNLOCK()
|
||||
|
Reference in New Issue
Block a user