We live in a twilight world, and there are no friends at dusk
/* crash.c */ #include <stdlib.h> int main() { char *s = (char*)malloc(32); s[32] = 0; return 0; }
~# gcc -g -O0 crash.c
~# valgrind --vgdb=yes --vgdb-error=0 ./a.out
沒有留言:
張貼留言