Skip to main content

Object symbol table wrangler. Useful for finding static memory and code size usage in embedded systems.

Project description

object-symbols-parser

A command-line tool that reads symbol tables from object files and generates a sorted spreadsheet report of symbols. This is especially useful in embedded development when optimizing code size and memory usage is critical.

Usage

Object File

If your binary fails to compile due to code space constraints, this tool helps you identify large symbols by reading one or more object files and generating a sorted symbol table spreadsheet.

object_symbols_parser -f src/FileSystem.o -f src/cpp_config.o -f src/main.o -o /tmp/out.xlsx

ELF/AXF File

You can also provide a single ELF or AXF binary file:

object_symbols_parser -f project.axf -o /tmp/out.xlsx

Output

The tool aggregates symbol information into a Pandas DataFrame and writes it to an Excel .xlsx file. By default, the symbols are sorted by section type and size, so you can quickly identify the largest entries consuming your code or data space.

image

Requirements

  • Python packages: click, pandas
  • GNU Binutils (objdump must be installed and in your system path or toolchain directory)

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

object_symbols_parser-0.1.2.tar.gz (130.8 kB view details)

Uploaded Source

Built Distribution

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

object_symbols_parser-0.1.2-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file object_symbols_parser-0.1.2.tar.gz.

File metadata

  • Download URL: object_symbols_parser-0.1.2.tar.gz
  • Upload date:
  • Size: 130.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for object_symbols_parser-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0193ad37d6260694c2c438f7fe739f7067eb4d3551f55a85ffec560a96a862c1
MD5 5f248cff96e9db6ca9ddb14daa1fee38
BLAKE2b-256 a555c642b237e95edf177db9558af1f25bf72e860b4cef4cd32fa0e8f548f3bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for object_symbols_parser-0.1.2.tar.gz:

Publisher: cd.yml on snhobbs/object_symbols_parser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file object_symbols_parser-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for object_symbols_parser-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5c05702eec2107cfcce8918a7be916bbd2ec8812fa2705277576f7d8e027ae6c
MD5 08e44ca4f1a204a47ef44304ff5a31b4
BLAKE2b-256 7265580270077fcf026a118f421bdfafe183aa276b0b028f236f79756a69b689

See more details on using hashes here.

Provenance

The following attestation bundles were made for object_symbols_parser-0.1.2-py3-none-any.whl:

Publisher: cd.yml on snhobbs/object_symbols_parser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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