ks1*_*322 58
您可以在gdb中切换到asm布局:
(gdb) layout asm
Run Code Online (Sandbox Code Playgroud)
有关更多信息,请参见此处
X-I*_*nce 23
有一种方法来反汇编函数或某段代码,那就是你所追求的吗?
执行此操作的命令将是disassemble <function name>
内存位置.
这是你指的是什么?
(gdb) help disassemble
Disassemble a specified section of memory.
Default is the function surrounding the pc of the selected frame.
With a single argument, the function surrounding that address is dumped.
Two arguments are taken as a range of memory to dump.
Run Code Online (Sandbox Code Playgroud)