Skip to main content

Linker's map file browser

Project description

mapuche

Mapuche is a linker's map file browser

If you are reading this, please don't forget to give this project a star on GitHub!

[!CAUTION] Mapuche is in pre-alfa development stage. Crashes or unexpected output may occur! Please create an issue if any.

Install

pip install mapuche

Usage

[!IMPORTANT] For now mapuche supports only map files of ELFs generated with -ffunction-sections and -fdata-sections compile options.

mapuche <elf.map> [elf_for_diff.map]
  • Use keyboard arrows and the space bar, or a mouse, to navigate the map tree.
  • Click table header columns to sort the table.
  • Show/hide debug sections using checkbox at the top.

Screenshot

mapuche diff maps

TODO list

  • implement --help/--version
  • copy cell content (press Shift and select using mouse as you would in other terminal apps.)
  • regex filters
  • map diff: highlight reduced sections with green and red otherwise (also, add shortcut "hide reduced")
  • button that hides debug sections
  • columns sort
  • support expand/collapse by left/right arrows and space button
  • move input section name from "name" to separate column
  • cute alignment for size/diff/delta columns
  • assembler diff viewer in popup widget
  • support map files for ELFs without -ffunction-sections/-fdata-sections
  • reduce startup time
  • screenshot/copy all table
  • C++ demangling
  • tests

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mapuche-1.0.2.tar.gz (2.8 MB view details)

Uploaded Source

Built Distribution

mapuche-1.0.2-py3-none-any.whl (29.3 kB view details)

Uploaded Python 3

File details

Details for the file mapuche-1.0.2.tar.gz.

File metadata

  • Download URL: mapuche-1.0.2.tar.gz
  • Upload date:
  • Size: 2.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for mapuche-1.0.2.tar.gz
Algorithm Hash digest
SHA256 8275184f034259d998242369ffb57bc4c3aaef4731e93d83fe5947d83b7f68b8
MD5 87d9aa2dc19484ec52a1b788cbadda7c
BLAKE2b-256 927c5c1e8290e0f446fde22c1022f94fb40f2446c85019238ec92e0d38c0335f

See more details on using hashes here.

File details

Details for the file mapuche-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: mapuche-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 29.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for mapuche-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 db9fef991c62c5d64cb8ea6461dbfedc402bb90ee935e27871afbf3ad9f8bdd6
MD5 b9ce2c4abc857a8514e7b81fd261a5b8
BLAKE2b-256 0e96c33e3aeb618fb4554c11efd7eef1d35621a6ce6f42599648a2fd159c2359

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page