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:
Justine Tunney 2022-04-01 22:44:43 -07:00
parent 1ff1854107
commit 38cb6e71ca
4 changed files with 10 additions and 13 deletions

View file

@ -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;