version 1.61, 2006/04/04 05:35:14
|
version 1.62, 2007/08/03 20:58:33
|
Line 92
|
Line 92
|
* WARNING: this violates C99 */ |
* WARNING: this violates C99 */ |
/* #define WANT_MALLOC_ZERO */ |
/* #define WANT_MALLOC_ZERO */ |
|
|
|
/* do you want free to overwrite freed data immediately, in the hope of |
|
* catching people accessing pointers after they were freed? This does |
|
* a memset with 0x55 as a value. which is not NULL and not -1. Please |
|
* note that this is the shotgun method for debugging, what you really |
|
* want is valgrind. */ |
|
/* #define WANT_FREE_OVERWRITE */ |
|
|
/* This enables a stack gap. Basically, the start code does not run |
/* This enables a stack gap. Basically, the start code does not run |
* main but stackgap, which then does alloca(random()) and calls main. |
* main but stackgap, which then does alloca(random()) and calls main. |
* The effect is that buffer overflow exploits will no longer be able to |
* The effect is that buffer overflow exploits will no longer be able to |