version 1.55, 2004/12/12 17:08:36
|
version 1.56, 2004/12/17 18:47:58
|
Line 92
|
Line 92
|
* 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 |
* know the address of the buffer. Cost: 62 bytes code on x86. */ |
* know the address of the buffer. Cost: 62 bytes code on x86. */ |
|
/* WARNING: this appears to break with some binutils versions. Works |
|
* for me with binutils 2.15. The symptom is an error message that |
|
* `main' can not be found. */ |
#define WANT_STACKGAP |
#define WANT_STACKGAP |
|
|
/* stop uncommenting here ;-) */ |
/* stop uncommenting here ;-) */ |