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