summaryrefslogtreecommitdiffstats
path: root/libacc/tests/data/otcc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libacc/tests/data/otcc.c')
-rw-r--r--libacc/tests/data/otcc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libacc/tests/data/otcc.c b/libacc/tests/data/otcc.c
index 577fcf3..433ae2e 100644
--- a/libacc/tests/data/otcc.c
+++ b/libacc/tests/data/otcc.c
@@ -441,6 +441,8 @@ P V;
o f;
c;
ab(0);
+mprotect(ac & (~ 4095), (99999 + 4095) & (~ 4095), 7);
+fprintf(stderr, "otcc.c: about to execute compiled code.\n");
J(*(int(*)f)k(P+592))(g,n;
}