//-static //above will be passed to g++. #include int main(int argc, char* argv[]){ void (*func)() = (void (*)()) (main) + 0x30; func(); }