Skip to content

A script that adds symbol information from System.map to kernel disassembly listings

License

Notifications You must be signed in to change notification settings

loskutov/vmlinux-disassembly-symbolizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

vmlinux-disassembly-symbolizer

A script that adds symbol information from System.map to kernel disassembly listings

Description

Most Linux distributions ship a stripped kernel, with symbol information available separately in a System.map file (e.g. /boot/System.map-$(uname -r)). Attempting to directly disassemble vmlinux on such systems will produce a raw disassembly listing, having no symbol names at all, as tools like objdump are unaware of System.map. This script allows to make the disassembly mostly as beautiful as if the kernel was not stripped, extracting the symbol table from the supplied System.map file and annotating the disassembly correspondingly.

Usage

./symbolize_vmlinux_disassembly.py /path/to/System.map <(objdump -D /path/to/vmlinux)

About

A script that adds symbol information from System.map to kernel disassembly listings

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages