tag: Elf

Elf symbols, little update

25 Mar, 2025 - 3 minutes
A little while ago I worked more on my little script to extract and expand the global symbols from an ELF file with debug (DWARF) informations. I keep it in my head all the time, so… Here are the changes and some explanation for them.

Dreaming while programming

25 Dec, 2024 - 4 minutes
At work I encountered a situation when having a small standalone tool to display the variables with expanded types and when available also display the address. For a basic look at symbols and their addresses, the tool readelf can be used, the issue is that it does not expand the types and only shows the addresses of the main variable, not of its sub stuff in structs or arrays of stuff. Other tools which can be used and I am aware of are: dwarfdump, objdump and pahole. Each has its strong and weak points but I did not manage to find the feature I wanted.