• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // This function will be embedded within the .symtab section of the
2 // .gnu_debugdata section.
multiplyByFour(int num)3 int multiplyByFour(int num) { return num * 4; }
4 
5 // This function will be embedded within the .dynsym section of the main binary.
multiplyByThree(int num)6 int multiplyByThree(int num) { return num * 3; }
7 
main(int argc,char * argv[])8 int main(int argc, char *argv[]) {
9   int x = multiplyByThree(argc);
10   int y = multiplyByFour(x);
11   return y;
12 }
13