Mapfile tool for parsing GCC mapfiles
npm install gcc-mapfile-toolfilename.map in your build directory:
-Wl,--cref,-Map=filename.map
`
Install
`
npm i -g gcc-mapfile-tool
`
Parser CLI
create a JSON file:
`
gcc-mapfile-tool filename.map --output=mapfile.json
`
create a JSON file with sorted elements:
`
gcc-mapfile-tool filename.map --output=mapfile.json --sortby=length --order=desc
`
Datatables UI
create a dynamic HTML document based on datatables.net:
`
gcc-mapfile-tool filename.map --output=mapfile.html --format=html
``