addr2line
Convert addresses of a binary into file names and line numbers. More information: <https://manned.org/addr2line>.
Install
- All systems
-
curl cmd.cat/addr2line.sh
- Debian
-
apt-get install binutils - Ubuntu
-
apt-get install binutils -
Alpine
-
apk add binutils - Arch Linux
-
pacman -S binutils - Kali Linux
-
apt-get install binutils - CentOS
-
yum install binutils - Fedora
-
dnf install binutils - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install binutils - OS X
-
brew install binutils - Raspbian
-
apt-get install binutils - Docker
-
docker run cmd.cat/addr2line addr2linepowered by Commando
Convert addresses of a binary into file names and line numbers. More information: <https://manned.org/addr2line>.
-
Display the filename and line number of the source code from an instruction address of an executable:
addr2line --exe=path/to/executable address -
Display the function name, filename and line number:
addr2line --exe=path/to/executable --functions address -
Demangle the function name for C++ code:
addr2line --exe=path/to/executable --functions --demangle address
© tl;dr; authors and contributors