Reputation: 159
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
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