Star on GitHubStar4.0k stars

Tool

vmlinux-to-elf

Rebuild an analyzable ELF with function and variable symbols from a Linux kernel image, whether a raw or compressed vmlinux, vmlinuz, zImage or bzImage blob, certain Android boot.img files or a stripped kernel ELF, by locating and decoding the embedded kallsyms symbol table. It detects the compression format, instruction set, endianness, word size, entry point and an approximate base address and writes an ELF for IDA Pro or Ghidra; a kallsyms-finder listing, a standalone decompressor and a GTK GUI are included.

Targets
Binary · Firmware
Category
Firmware tools
Relationship
Foundation tool
Sources reviewed
Evidence level
L1 reinforcement-learning environment
Stars
1.9k
Last commit
2026-11-11
Language
Python
License (GitHub)
GPL-3.0

GitHub data as of 2026-12-05

Copy as MarkdownView JSONCite

Evidence

Demo screenshot from the project's public documentation
Observed
Code, documentation, download and demo observed for a tool, integration, guide or analysis entry.
Scope
Analysis, tool or guide
Checked
2026-11-07

How evidence levels are assigned

Requirements & limits

  • Latest release at review: 1.3.6, published 2026-05-20 on GitHub and PyPI; its notes include provisional support for reserializing section-stripped ELF kernels and uImage LZMA decompression. The reviewed master commit is four commits ahead, with GUI and packaging updates, and carries a 1.3.6.1 tag that has no release. PyPI classifies the project as beta.
  • Requires Python 3.9+ with lz4, zstandard, minilzo and peewee. The README installs the CLI and GUI with snap on Ubuntu, from the AUR, or with uv plus GTK 4, libadwaita and PyGObject development packages; Flathub provides the GUI on distributions whose libadwaita is older than 1.6.
  • Input is a kernel image the analyst already has; kernels built without CONFIG_KALLSYMS are not supported. The README states support for Linux 2.6.10 through 6.4 as of August 2023, raw-kernel architecture detection for MIPS, ARM, ARM64, PowerPC, SPARC, x86, x86-64, SuperH and ARC, XZ, LZMA, GZip, BZ2, LZ4, LZO and Zstd decompression, and OpenWrt's uncompressed kallsyms variant. Instruction set, bit size, file offset and base address can be overridden when detection fails.
  • GPL-3.0-or-later. Recovered symbols carry only the name, address and nm-style type stored in kallsyms, and the base address is a heuristic: the first text symbol address with the low 12 bits cleared.

Cite

BibTeX

@misc{vmlinux-to-elf,
  title = {{vmlinux-to-elf}},
  howpublished = {\url{https://github.com/marin-m/vmlinux-to-elf}},
  url = {https://github.com/marin-m/vmlinux-to-elf},
  urldate = {2026-10-19},
  note = {Awesome REA entry: \url{https://awesomerea.org/resources/vmlinux-to-elf/}}
}

Plain text

vmlinux-to-elf. https://github.com/marin-m/vmlinux-to-elf (accessed 2026-10-19). Awesome REA entry: https://awesomerea.org/resources/vmlinux-to-elf/

Useful? Star Awesome REA on GitHub4.0k

About this entry

The description was reviewed against primary sources.

Report an outdated entry Suggest a translation fix

Primary sources

  1. README.md GitHub · marin-m/vmlinux-to-elf · Revision 2d094bc
  2. README.md#L89-L98 GitHub · marin-m/vmlinux-to-elf · Revision 2d094bc
  3. README.md#L153-L192 GitHub · marin-m/vmlinux-to-elf · Revision 2d094bc
  4. pyproject.toml GitHub · marin-m/vmlinux-to-elf · Revision 2d094bc
  5. vmlinux_to_elf/core/kallsyms.py GitHub · marin-m/vmlinux-to-elf · Revision 2d094bc
  6. LICENSE GitHub · marin-m/vmlinux-to-elf · Revision 2d094bc
  7. https://github.com/marin-m/vmlinux-to-elf/releases/tag/1.3.6
  8. https://pypi.org/project/vmlinux-to-elf/1.3.6/

More in Firmware and hardware

All 295 entries in Firmware and hardware

↑↓ move↵ open⌘↵ new tab