温馨提示×

哪里找linux反汇编手册

小樊
53
2026-10-06 09:28:37
栏目: 智能运维

找“Linux 反汇编手册”通常要看你具体想做什么:是看汇编指令含义、用反汇编工具,还是分析 Linux 程序/内核。下面按常见需求给你指路。


一、汇编指令手册(x86 / ARM 等)

如果你是想查 反汇编出来的一条条指令是什么意思:

1. Intel 官方手册(最权威)

  • Intel® 64 and IA-32 Architectures Software Developer Manuals
  • 地址:https://www.intel.com/content/www/us/en/developer/articles/technical/intel-sdm.html
  • 重点看:
    • Volume 2:Instruction Set Reference(指令含义)

2. AMD 手册(x86 也常用)

  • https://www.amd.com/en/developer/resources/developer-guides-manuals.html

3. ARM 手册(如果是 ARM Linux)

  • ARM Architecture Reference Manual
  • https://developer.arm.com/documentation

二、Linux 下反汇编工具用法

如果你是想怎么反汇编:

1. objdump(最常用)

objdump -d ./a.out

手册:

man objdump

或:https://sourceware.org/binutils/docs/binutils/objdump.html

2. gdb(调试 + 反汇编)

gdb ./a.out
(gdb) disassemble main

手册:

man gdb

或:https://sourceware.org/gdb/documentation/

3. radare2 / rizin(逆向分析)

  • https://book.rada.re/
  • https://rizin.re/docs/

4. IDA / Ghidra(GUI 反汇编)

  • Ghidra(免费):https://ghidra-sre.org/
  • IDA(商业):https://hex-rays.com/

三、Linux 程序运行 & 调用约定(反汇编必看)

反汇编不能只看指令,还要知道:

  • 函数调用约定
  • 栈布局
  • 系统调用号

1. System V ABI(Linux 标准)

  • x86-64 ABI: https://refspecs.linuxbase.org/elf/x86_64-abi-0.99.pdf
  • 讲清:
    • 参数用哪些寄存器
    • 返回值
    • 栈对齐

2. Linux 系统调用

man 2 syscall

或:

  • https://filippo.io/linux-syscall-table/
  • arch/x86/entry/syscalls/syscall_64.tbl(内核源码)

四、Linux 内核反汇编相关

如果你是分析 内核:

  • 内核源码:https://kernel.org
  • 反汇编内核:
objdump -d vmlinux
  • 内核文档:
    • Documentation/
    • https://docs.kernel.org/

五、推荐学习路径(实用)

  1. 会用 gcc -S 看 C 对应汇编
  2. 用 objdump -d 反汇编
  3. 配合 Intel 手册查指令
  4. 看 System V ABI 理解函数调用
  5. 用 gdb 单步跟

如果你愿意,可以告诉我:

  • 你是 x86 还是 ARM
  • 是 用户态程序 还是 内核
  • 是想 学汇编 还是 做逆向

我可以直接给你“该看哪几份、怎么看”的最短路线。

0 踩