Skip to main content
gamedev.net
🔒 Locked

.map file analyzer?

Started by Falken42 0 replies 1.2k views
Original Post
Falken42
Falken42
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.
Falken42
Falken42
*bump*

Doesn't anyone even look at their .map files anymore? :)

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.