membrowse
Memory footprint analysis tools for embedded firmware
What it is and what it does
MemBrowse is a command-line tool and Python library for analyzing memory consumption in embedded firmware. It reads ELF binaries and linker scripts to extract detailed memory layout information—regions, sections, and individual symbols—and maps each symbol back to its source file. The tool supports multiple architectures that produce DWARF-format ELF files and can work standalone for local analysis or integrate with the MemBrowse cloud service for historical tracking, diffs, and CI/CD gating.
The package is designed for embedded developers who need to track firmware size growth, understand memory region utilization (FLASH, RAM, etc.), and identify which symbols consume the most space. It integrates with GitHub Actions for automated PR analysis and includes Jinja2 templating for customizable memory reports. The tool can also handle overflow scenarios by comparing against inflated linker scripts while reporting against real memory limits.
Use it for:
- Track firmware binary size and memory region utilization in CI/CD pipelines using GitHub Actions for automated PR analysis.
- Generate human-readable or JSON memory reports locally to identify which symbols and sections consume the most space.
- Monitor memory growth over time by uploading analysis reports to MemBrowse for historical comparison and budget alerting.
- Debug memory layout issues by mapping symbols to their source files and examining section-level deltas across builds.
- Validate that firmware stays within real memory limits even when building with inflated linker scripts for overflow tracking.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Analyzes binary size and memory footprint of embedded firmware by extracting symbol-level details from ELF files and linker scripts, with support for multiple architectures and source file mapping.
Yes, with a license caveat. The package is actively maintained, has low install friction, and solves a real problem for embedded firmware developers—memory profiling and tracking. However, verify the actual license before use, as the metadata does not specify one. If you work on embedded systems and need to monitor or optimize firmware size, this is a practical tool worth adopting.
Install
membrowse on PyPI
pip
pip install membrowseuv
uv add membrowsepoetry
poetry add membrowseInstalling membrowse
Before you install
Low install friction with a pure-Python wheel and five runtime dependencies (pyelftools, requests, itanium-demangler, rust-demangler, jinja2). Active maintenance with a recent release 50 days ago and ongoing repository activity.
License in practice
License status is unclear — no SPDX identifier or raw license text is available in the package metadata. Verify the actual license before use in proprietary or copyleft-sensitive projects.
Quickstart
pip install membrowse
membrowse report build/firmware.elf "src/linker.ld src/memory.ld"
# For JSON output:
membrowse report build/firmware.elf "src/linker.ld src/memory.ld" --json
Requires an ELF file with DWARF debug format and a GNU LD, IAR ICF, or SEGGER Embedded Studio linker script; Python 3.7 or later.
Verify before relying
- Whether the package supports IAR ICF and SEGGER .emProject file formats as documented, or if those are planned features.
- Exact behavior when analyzing binaries built with toolchains other than GCC (e.g., LLVM/Clang for embedded targets).
- Whether the cloud integration with MemBrowse.com requires a paid account or if free tier analysis is available.
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (>=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 5 — pyelftools, requests, itanium-demangler, rust-demangler, jinja2 |
| Maintenance | actively maintained — 50 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 108,610/month — #12,551 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: membrowse-1.2.9-py3-none-any.whl
Keywords: embedded, firmware, memory, analysis, elf, linker, dwarf, footprint, stm32, esp32, arm, risc-v
Tags
More Build Tools packages
Provides reusable utilities for Python…
permissive · top 100 on PyPI
tqdmWraps any iterable to display a real-time…
copyleft · top 100 on PyPI
pippip is the standard installer for Python…
permissive · top 100 on PyPI
hatchlingHatchling is a standards-compliant Python build…
permissive · top 100 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
pre-commitpre-commit is a framework for installing and…
permissive · top 1,000 on PyPI
binsizeAnalyzes symbol sizes in compiled binaries by…
permissive · top 15,000 on PyPI
esp-idf-sizeAnalyzes statically allocated RAM and binary…
permissive · top 5,000 on PyPI
cleCLE loads binary executables and shared…
permissive · top 5,000 on PyPI
esp-coredumpRetrieves and analyzes core dumps from ESP32…
permissive · top 5,000 on PyPI
malduckMalduck provides cryptographic, compression,…
copyleft · top 15,000 on PyPI
uefi-firmwareParses, extracts, and recreates UEFI firmware…
permissive · top 15,000 on PyPI
bincopyConverts between binary file formats (Motorola…
permissive · top 15,000 on PyPI
ROPGadgetROPGadget searches for ROP (Return-Oriented…
permissive · top 5,000 on PyPI
pyelftoolspyelftools parses and analyzes ELF binary files…
permissive · top 5,000 on PyPI
cmsis-pack-managerQueries and manages device information from…
permissive · top 5,000 on PyPI