{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/4"}],"enrichment":{"capability":"Analyzes symbol sizes in compiled binaries by parsing ELF files and optional map files, helping developers identify which symbols consume the most space.","skillfed_tags":["binary-analysis","embedded-development","size-optimization"],"use_cases":["Identify which symbols are bloating a firmware binary and prioritize optimization efforts.","Compare symbol sizes across two binary builds to detect regressions or improvements.","Visualize the hierarchical breakdown of code and data sizes in a compiled ELF file.","Automate binary size analysis in a build pipeline by setting root directory via environment variable.","Debug unexpected size growth in a compiled artifact by drilling into symbol-level details."],"what_it_does":"Binsize is a command-line tool that parses compiled ELF binaries and optional map files to report which symbols are consuming the most space. It wraps external analysis tools (bloaty and nm) and provides a CLI interface with subcommands for inspecting, comparing, and visualizing symbol sizes in a hierarchical tree view. The tool stores its configuration\u2014including the project root directory\u2014in a platform-specific settings file managed by platformdirs.\n\nYou interact with it primarily through shell commands like `binsize get`, `binsize compare`, and `binsize tree`, each with their own options. It can output results to the terminal or to a file, and allows you to set the project root directory via environment variable, CLI flag, or a Python function call if you're embedding it in a script.","worth_installing":"Yes, if you regularly analyze compiled binaries and need a lightweight CLI tool for symbol-level size profiling. The low install friction and permissive license make it a low-risk addition. However, be aware that maintenance is dormant and you will need to have `bloaty` and `nm` already available on your system\u2014verify that dependency before committing to it."},"id":"binsize","links":{"html":"https://skillfed.io/packages/binsize","md":"https://skillfed.io/packages/binsize.md","pypi":"https://pypi.org/project/binsize/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2025-01-27","license_spdx":null,"license_treatment":"permissive","name":"binsize","python_support":"supports_current","summary":"Tool to analyze the size of a binary from .elf file"},"popularity":{"monthly_downloads":138108,"position":11344,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.4"}
