My build (gcc) toolchain produces a .map file. Is there a tool to analyze the memory map graphically?
views:
1687answers:
3I think you are looking for something similar to this, right?
But I'm not sure there is one for Linux, but I think you could do a "simple analyzer script".
The basic idea would be to be able to extract from a given .map file, the address of a symbol. So in this script, you could load the .map file and write the name of a variable and read the content related to it.
Well, that's my small advice, hope it helps.
Update : Found you a windows app called Stackanalyzer, but again, I'm not sure it fits you needs. Good Luck.
Inspired by the above and because I wanted one to parse the map file generated by Microsoft Visual Studio, I wrote another python script to parse a map file and output a visual layout of the symbols. Check it out here Visual Map File Parser