1 2 3 4 5 6 7
__attribute__((noinline)) static void NullDeref(int *ptr) { ptr[10]++; } int main() { NullDeref((int*)0); }