3
Introduction DWARF is a format for debugging. DWARF data are several sections in the object file The purpose is to figure out the mapping between object code and source code. DWARF is a tree structure with nodes called Debugging Information Entry (DIE). The tree describes the whole source program readelf --dump-debug to dump the debug data

10
Other DWARF Data Line Number Table –.debug_line – Mapping between the source lines and the memory address – Line number program The byte-coded instruction stream – State machine Expand the line number program and recreate the line number table Macro Information –.debug_macinfo Call Frame Information –.debug_frame – Virtually unwind and find out the desired data in the call stack – CIE (Common Information Entry) – FDE (Frame Description Entry)