Last active
August 29, 2015 14:14
-
-
Save ntddk/7e4430dc495db30664b6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
__attribute__((constructor)) void constructor(){ | |
printf("constructor\n"); | |
} | |
int __libc_start_main(){ | |
printf("__libc_start_main\n"); | |
return 0; | |
} | |
int __libc_csu_init(){ | |
printf("__libc_csu_init\n"); | |
return 0; | |
} | |
int __libc_csu_fini(){ | |
printf("__libc_csu_fini\n"); | |
return 0; | |
} | |
int main(){ | |
printf("main\n"); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment