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!

[!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

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.3.tar.gz (2.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mapuche-1.0.3-py3-none-any.whl (29.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mapuche-1.0.3.tar.gz
Algorithm Hash digest
SHA256 5a9fd285587ffa8d3c205aea6993412653620227a115d8fc3d07184f85b98853
MD5 470d94c6398c9748e5638fb268295126
BLAKE2b-256 0d60213bd23355392da392e47759d1dc45dd17f53c10145125dec3ac0981227c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mapuche-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 29.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for mapuche-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 13812966722e9564c126456093f462beafb496eb294f8d86600b4b54fb5bcbc7
MD5 9c30028c1d0f34175e435f8e10f69b47
BLAKE2b-256 3c234b5caede067f002d2ac215a76893b1145bf42f30382f622073de57faaa8e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page