Skip to main content

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!

Install

pip install mapuche

Usage

mapuche <elf.map> [elf_for_diff.map]
mapuche --help
mapuche --version
  • 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.
  • Demangle C++ names using checkbox at the top (on by default).
  • Press / to filter rows with a regular expression. A row stays if its name matches, if a parent matches, or if a child does (parents open to show the match). Input sections also match their object path. Demangled and mangled names both match. An invalid pattern keeps the last valid one until it compiles. Enter or Escape returns to the table. Hidden debug sections, and fully reduced rows while "Hide reduced" is on, stay hidden.
  • In a map diff, smaller sections are green and larger sections are red. Tick "Hide reduced" at the top to hide reduced sections. A shrunk section stays on screen when a child inside it grew.
  • Press a to open an assembler diff for the selected row. This is available when the ELF named by OUTPUT() in the map file is on disk. objdump is taken from the toolchain bin directory recorded on the libc.a path; if that binary is missing, mapuche asks for a path. The viewer has checkboxes to show instruction addresses and to interleave source code (objdump -S). A data, rodata, or other non-code section opens a hex diff of the ELF bytes instead.

Screenshot

mapuche diff maps

Metadata

Release files for mapuche 2.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mapuche 2.0.3
File Size Uploaded Provenance Actions
mapuche-2.0.3.tar.gz 2.9 MB Without provenance Details for mapuche-2.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mapuche 2.0.3
File Interpreter ABI Platform Actions
mapuche-2.0.3-py3-none-any.whl Python 3 none any Details for mapuche-2.0.3-py3-none-any.whl

Total release size: 2.9 MB

Release files / mapuche-2.0.3.tar.gz

Download URL mapuche-2.0.3.tar.gz
Size 2.9 MB
Tags Source
SHA-256 checksum
How to use checksums
2b0d4d059caba6cb806562f4c21f930659f8d54e7da5c8aefbdf0ed69f8b209c
BLAKE2b-256 checksum
How to use checksums
95f316dd1be6536176031f9260d8299671ced6332ceef3dc8d699105afa195db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / mapuche-2.0.3-py3-none-any.whl

Download URL mapuche-2.0.3-py3-none-any.whl
Size 48.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
02ca1193ec62ca42c2098027580c5c25525a438c8f753e977a74c75e6fb1e129
BLAKE2b-256 checksum
How to use checksums
7b252151532c08c6326232978d06b21379c93f0f19b3253c5bdc19a816e48dd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for mapuche 2.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page