I'm doing some research on whether a simple way exists to extract variable memory addresses from a linkers output files. I was thinking of writing my own parser to extract the information from the .map file generated by the linker but was also hoping that an API exists which can do the job for me. The reason for this is that I want to build in functionality into a test application I'm writing to retrieve global variable values of specific addresses on my target system (kind of like μC/Probe does).
Has anyone here come accross a similar problem and if so how did you solve it? I'm using Codewarrior 8 v3.1.