mirror of
https://github.com/morluto/rea.git
synced 2026-11-12 09:52:27 +00:00
* fix(ghidra): qualify selected project call coverage * test(ghidra): retain verifier MCP cleanup ownership * test(ghidra): document trusted verifier compiler selection * test(ghidra): document owned verifier exit marker * test(ghidra): remove ineffective scan directives * fix(ghidra): supervise project coverage verification * fix(ghidra): supervise verifier compiler process
15 lines
515 B
C
15 lines
515 B
C
volatile int rea_project_global = 7;
|
|
__attribute__((noinline, used)) int rea_project_leaf(int x) {
|
|
return x + rea_project_global;
|
|
}
|
|
__attribute__((noinline, used)) int rea_project_caller(int x) {
|
|
return rea_project_leaf(x);
|
|
}
|
|
__attribute__((noinline, used)) int rea_project_other(int x) {
|
|
return x - rea_project_global;
|
|
}
|
|
__attribute__((noinline, used)) int rea_project_callback(int (*fn)(int), int x) {
|
|
return fn(x) + rea_project_global;
|
|
}
|
|
int main(void) { return rea_project_caller(rea_project_global); }
|