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.4

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.4
File Size Uploaded Provenance Actions
mapuche-2.0.4.tar.gz 2.9 MB Without provenance Details for mapuche-2.0.4.tar.gz

Built distribution (wheel)

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

Total release size: 2.9 MB

Release files / mapuche-2.0.4.tar.gz

Download URL mapuche-2.0.4.tar.gz
Size 2.9 MB
Tags Source
SHA-256 checksum
How to use checksums
7f1a7b07c14773312e447ec811d24377b1a75b19315be7ef16979925e4fce651
BLAKE2b-256 checksum
How to use checksums
7331d743e6b2dabe7916ede22db7b38923b182301d4c8e5aa5153e76dbb0855c
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.4-py3-none-any.whl

Download URL mapuche-2.0.4-py3-none-any.whl
Size 48.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fd5486caaa9718e5a376a7363f5489d168faee89d63fca424f8ca9a705a5b907
BLAKE2b-256 checksum
How to use checksums
0e99aaba916410a2e48458c204fa270d121573ef064607d0a916f0a996b0c2ac
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.4

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