> For the complete documentation index, see [llms.txt](https://lightc.gitbook.io/pwn-gitbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lightc.gitbook.io/pwn-gitbook/kpwn/kpwn-setup/vmlinux-to-elf.md).

# vmlinux-to-elf

`vmlinux-to-elf` 用于内核符号提取，能够从原始内核镜像中恢复可完全分析的 `ELF` 文件，通过提取内核符号表（`kallsyms`）恢复了函数符号和变量符号。

```bash
vmlinux-to-elf < input_kernel.bin > < output_kernel.elf >
```
