1 | void crash() { |
---|---|
2 | volatile int *a = (int *)(nullptr); |
3 | *a = 1; |
4 | } |
5 | |
6 | extern "C"void _start(); |
7 | void InstallBreakpad(); |
8 | |
9 | void _start() { |
10 | InstallBreakpad(); |
11 | crash(); |
12 | } |
13 |
1 | void crash() { |
---|---|
2 | volatile int *a = (int *)(nullptr); |
3 | *a = 1; |
4 | } |
5 | |
6 | extern "C"void _start(); |
7 | void InstallBreakpad(); |
8 | |
9 | void _start() { |
10 | InstallBreakpad(); |
11 | crash(); |
12 | } |
13 |