Instantly share code, notes, and snippets.

Embed
What would you like to do?
Target binary for studying the ELF format
#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