Domanda

I need to get the global symbols from a compiled c program file. What I use is the linux command readelf -s filePath when I use that command this is what I get:

enter image description here

I draw a blue rectangle to show that variable names do not get displayed correctly. they get trim after 25 characters. How can I make it display the full names?

È stato utile?

Soluzione

Add the wide switch:

readelf -s --wide pathOfFile
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top