mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Improve alloca() memory safety
Now that all the bugs have been wormed out of the ASAN memory module we can successfully check for underruns on large stack allocations.
This commit is contained in:
parent
1ff1854107
commit
38cb6e71ca
4 changed files with 10 additions and 13 deletions
|
@ -9,6 +9,8 @@
|
|||
#endif
|
||||
#include "libc/stdio/stdio.h"
|
||||
|
||||
STATIC_YOINK("mmap"); // TODO: fix bandaid for MODE=asan
|
||||
|
||||
int main() {
|
||||
printf("%s\n", "hello world");
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue