Created
October 23, 2018 01:30
-
-
Save k3170makan/c7712b7aa14f1c2e7c0e7ae725f2fac1 to your computer and use it in GitHub Desktop.
Target binary for studying the ELF format
This file contains 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> | |
void never_call(void){ | |
printf("[*] success!! call to function never_call!!!\n\n"); | |
} | |
void foo(void){ | |
printf("[*] call to function foo\n"); | |
return; | |
} | |
int main(int argc, char **argv){ | |
printf("[*] call to main function\n"); | |
printf(" "); | |
printf(" "); | |
foo(); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment