Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

gcc-mapfile-tool

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gcc-mapfile-tool

Mapfile tool for parsing GCC mapfiles

latest
Source
npmnpm
Version
1.0.3
Version published
Weekly downloads
5
-72.22%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

GCC

FAQs

Package last updated on 08 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts