Using dumpbin output to profile symbol size?
Posted on 2003-10-24
Through looking at dumpbin results from the object files and the mapfile for an executable, I'm hoping to map out the memory usage in a project where our exe size has balooned.
I've got a perl script that grabs the info out of dumpbin focusing on the "size of raw data" figure, but it looks like I might be missing a lot of data. There are lots of symbols that have "number of relocations" greater than zero along with a "file pointer to raw data" and "file pointer to relocation". Should I be digging more into any of these values or elsewhere in the dumpbin output to get a complete accounting to the size of symbols linked into my exe? Thanks