Sign in to follow this  

.map file analyzer?

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this