Giter Site home page Giter Site logo

ste1io / mapfileviewer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from haribabu413/mapfileviewer

0.0 1.0 0.0 5.38 MB

License: GNU General Public License v3.0

C# 95.19% CSS 0.32% HTML 2.77% JavaScript 0.82% Python 0.20% C 0.09% Makefile 0.56% Shell 0.05%

mapfileviewer's Introduction

MapViewer

MapViewer is a Windows (C#/.NET)application that displays information extracted from the MAP file (generated by the GNU linker LD) and from the ELF executable image. It displays the module/file wise split of resources consumed along with details of individual symbols found within each module/file. Each view can be filtered and sorted dynaimically allowing the user to quickly calculate the sizes of various modules and symbols or identify those modules that are perhaps unintentionally included in a project. All the list view magic is courtesy of ObjectListView

The application looks like this:

It was primarily developed for use with the FTDI FT900 Microcontroller and associated toolchain but is generic enough to be useable for other GCC based toolchains. I've tested it with Microchip's XC16 compiler and should also be useful for XC32 (with some minimal porting).

I've written a blog post with more details on the application here. Prebuild executables are available under the releases.

Usage Guide

  1. Input the paths to the MAP and ELF image in the text boxes.
  2. Click on the Settings button and configure the path to Binutils NM and READELF provided by your toolchain.
  3. Update the Segment to Sections mapping if your target is not FT32 or XC16 (PIC24)
  4. Close the settings and click on the "Analyze" button.
  5. Right click on the Lists to export to CSV/HTML files
  6. [new feature] If you linked with the -cref option, a tree view of the module "dependcies" is shown for each module you select. This shows you the modules that depend on/are users of the selected module. And allows you to easily answer questions like "which application files are responsible for the inclusion of floating point library routines in my project?" for instance. Note that the this view is a bit incomplete in that paths are truncated if the same node appears twice on it. The information looks like this:

mapfileviewer's People

Contributors

govind-mukundan avatar joeynovak avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.