github.com/searKing/golang/go@v1.2.117/runtime/cgosymbolizer/testdata/crash.c (about)

     1  #include <stdio.h>
     2  
     3  void crash_now(int a, char *b) {
     4      int *thing = NULL;
     5      fprintf(stderr, "Here: %d %s\n", *thing + a, b);
     6      // https://github.com/benesch/cgosymbolizer/blob/master/example/example.c
     7      volatile char p = *(volatile char*) NULL;
     8  }