Skip to main content

Tool to extract information about symbols and sections from an ELF file and filters them.

Project description

Elf size report

This script is based on size_report from Zephyr Project scripts. It has been almost fully rewritten but the idea is the same. It uses binutils programs (readelf, nm, c++filt) to extract information about symbols and sections from an ELF file and filters them. Information is presented in a tree based on paths to files where the symbols have been defined.

Requires Python 3, readelf, nm and (optional) c++filt. To be able to extract path information about symbols from ELF file, the program should be compiled with debug information.

If installed via pip, the package provides an entry point and you can get usage info by running elf-size-analyze -h.

If working with the sources, use python -m elf_size_analyze -h for usage info.

Example output

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

elf-size-analyze-0.2.2.tar.gz (21.4 kB view details)

Uploaded Source

Built Distribution

elf_size_analyze-0.2.2-py3-none-any.whl (24.7 kB view details)

Uploaded Python 3

File details

Details for the file elf-size-analyze-0.2.2.tar.gz.

File metadata

  • Download URL: elf-size-analyze-0.2.2.tar.gz
  • Upload date:
  • Size: 21.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for elf-size-analyze-0.2.2.tar.gz
Algorithm Hash digest
SHA256 6ab4bcddc6aedcf2e4d6e102c262949e5b6cef3cbaf67ad2e15cf4da46b30ad2
MD5 bbcc7447bc57f04a656882feb682fb8c
BLAKE2b-256 ce2530e68840f1c2290fd0a127d539ce72061a7426da0d4f02774edec8a06d9f

See more details on using hashes here.

File details

Details for the file elf_size_analyze-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for elf_size_analyze-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0bb4e43e4314563d3d564ffc0d03e179681808d804f2b6ae82b28d22f0d94a66
MD5 271bc43bd12fe12f80e20dc084d5c0cf
BLAKE2b-256 c2d8f4a731171f4a7809f4a00210afbf9ef3d7a298f4082522b8ed89b3e17429

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page