readelf -s does not output full variable names
Asked Answered
T

1

34

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?

Tahoe answered 26/6, 2012 at 15:38 Comment(0)
T
63

Add the wide switch:

readelf -s --wide pathOfFile
Tahoe answered 26/6, 2012 at 15:41 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.