0.1.6 • Published 4 months ago

gcc-mapfile-tool v0.1.6

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

GCC Mapfile Tool

This node.js package can parse a mapfile generated by GCC and create a structured JSON object from it with all linked sections and symbols.

This can be useful in embedded software development when you want to see what memory is occupied by what code.

Generate a mapfile

Creating a mapfile is an option of the GCC linker.

Set the following arguments to your linker flags to generate filename.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
0.1.6

4 months ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago