artulab
projects
/
openbsd
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
070c565e72bd748c43d45e45e80f9753e3c9cb2b
[openbsd]
/
1
void InstallBreakpad();
2
void WriteMinidump();
3
4
int global = 42;
5
6
int bar(int x) {
7
WriteMinidump();
8
int y = 4 * x + global;
9
return y;
10
}
11
12
int foo(int x) {
13
int y = 2 * bar(3 * x);
14
return y;
15
}
16
17
extern "C" void _start();
18
19
void _start() {
20
InstallBreakpad();
21
foo(1);
22
}