• Advertisement
Sign in to follow this  

.map file analyzer?

This topic is 4281 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello all, I'm working on a project where the final EXE size is important, and have been using the .map file built by linker to target sections of code or data to either eliminate or reduce in size. However, the .map file only gives the base address of a function, not it's size, so I'm having to glance over the output and manually calculate the difference between a given function and the next one after it. Needless to say, this is just a bit annoying. Is there any kind of tool which could parse a .map file, calculate the sizes, and then sort them for easy searching? Additionally, doing something neat like name unmangling would be handy too. I did a quick search through Google, but couldn't find really anything related to what I'm trying to do. I guess I could write one myself... but I was just hoping to not reinvent the wheel if it wasn't necessary.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement