more ices
[ICEs.git] / sb-bigloo / bigloo.c
1 #define _GNU_SOURCE
2 #include <stdio.h>
3 #include <dlfcn.h>
4 bigloo_main() { dlvsym(RTLD_NEXT, "fopen", "GLIBC_2.2.5"); }
5 //FILE *fp = fopen("/dev/null", "r"); }
6 main() {
7 void *sym = dlvsym(RTLD_NEXT, "open", "GLIBC_2.2.5");
8 char *argv[] = { "a.out", 0 };
9 bglpth_setup(1, argv, 0);
10 _bigloo_main(1, argv, 0, &bigloo_main);
11 }