| 知乎专栏 | 多维度架构 |
从对象文件中显示信息。
[root@localhost ~]# objdump -d /bin/ls | head
/bin/ls: file format elf64-x86-64
Disassembly of section .init:
0000000000003538 <.init>:
3538: f3 0f 1e fa endbr64
353c: 48 83 ec 08 sub $0x8,%rsp
3540: 48 8b 05 69 da 21 00 mov 0x21da69(%rip),%rax # 220fb0 <__gmon_start__>