1 2 3 4 5 6 7 8 9 10 11
#include <stdio.h> extern void *__executable_start; int main() { if ((void **) &main >= &__executable_start) printf ("OK\n"); return 0; }