所以這里是二進制的源代碼:
#include <stdio.h>
int main(){
printf("Hello World\n");
return 0;
}
以下是此源代碼的編譯:
@CTOS:/tmp/mytemp$ gcc helloWorld.c -o helloWorld
現在,當我在 gdb 中反匯編我的二進制檔案時,如下所示:
Reading symbols from helloWorld...
(No debugging symbols found in helloWorld)
(gdb) disassemble main
Dump of assembler code for function main:
0x0000000000001149 < 0>: endbr64
0x000000000000114d < 4>: push %rbp
0x000000000000114e < 5>: mov %rsp,%rbp
0x0000000000001151 < 8>: lea 0xeac(%rip),%rax
0x0000000000001158 < 15>: mov %rax,%rdi
0x000000000000115b < 18>: call 0x1050 <puts@plt>
0x0000000000001160 < 23>: mov $0x0,
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/510570.html
標籤:C调试数据库拆卸
上一篇:我需要幫助隨機化一個<a>標簽
下一篇:找不到呼叫函式
