1 2 3 4 5 6 7 8 9 10 11 12
#include <stdlib.h> #include <stdio.h> int main (int argc, char **argv) { int *foo = NULL; printf ("Oh no, a bug!\n"); /* set breakpoint here */ return *foo; }