GDB no such file or directory

前端 未结 2 924
一整个雨季
一整个雨季 2020-12-30 06:39

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

2条回答
  •  庸人自扰
    2020-12-30 07:03

    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.

提交回复
热议问题