blob: 52851bdb196a282f34ec10f034b52fd9ab56e949 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include "../../segv_handler.h"
void Bar(int* x) {
*x = 11;
}
void Foo(int* x) {
Bar(x);
}
int main() {
InstallSegvHandler();
Foo((int*)1);
return 0;
}
|