I\'m following these lessons from OpenSecurityTraining.
I\'ve reached the lab part where I\'ve to train myself on a CMU Bomb. They provide a x86_64 compiled CMU Bomb
Use dir command to set source path
dir /usr/src/debug
in above path. Your code should present.
The executable contains debugging symbols, which indicate the file (and particular line in the file) corresponding to each bit of assembled code. This is what allows you to step through C code in the debugger. The debugging symbols are put there by the compiler (e.g. by using the -g
argument to gcc).
If you don't have the C files that were used to compile the executable, the debugger won't be able to show you the C, and you'll be limited to looking at assembly.