hamb
hamb

Reputation: 159

how to extract the data type of global variables in objdump output file?

I have a binary file that I disassemble using objdump disassembler tool. I want to know how can I can extract the data type of the global variables that are exist in the objdump output file?

Upvotes: 1

Views: 2648

Answers (1)

zxcdw
zxcdw

Reputation: 1649

Compiled object/executable files do not contain any information about variable types or names, or their scope or storage class. However, some of that information may be available if there are debugging symbols left in the file.

Upvotes: 1

Related Questions