Open In App

addr2line command in Linux with Examples

addr2line command in Linux is used to convert addresses into file names and line numbers. When the executable files/object files are run with the objdump command, the file is de-assembled and the machine code is displayed. These machine instructions for the executable are displayed along with their memory location (address). Using the addr2line command, one can map the address of the machine instruction to the line of the file from which it originated.


addr2line [options] [addr addr ...]



Article Tags :