#include "crypt.h"
#include "kernel/acl.h"
#include "kernel/kernel.h"
Go to the source code of this file.
#define CANARY_ENDVALUE "\x36\xDD\x24\x36" |
#define CANARY_SIZE 4 /* Size of canary used to spot overwrites */ |
#define CANARY_STARTVALUE "\xC0\xED\xBA\xBE" /* More fun than dead beef */ |
#define checkMemCanary |
( |
|
memBlockPtr, |
|
|
|
memPtr |
|
) |
| |
Value:
REQUIRES( !memcmp( memPtr + memBlockPtr->size -
CANARY_SIZE, \
Definition at line 73 of file sec_mem.c.
#define insertMemCanary |
( |
|
memBlockPtr, |
|
|
|
memPtr |
|
) |
| |
#define MAX_ALLOC_SIZE 8192 |
void endAllocation |
( |
void |
| ) |
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 86 of file sec_mem.c.