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

Command line tool that reads object file symbol table, generate a sorted spreadsheet with the entries. Intended for embedded development where memory and code space needs to be optimized.

Usage

Object File

This is particularly useful if you cannot compile a binary due to the code space being exceeded.

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

ELF/AXF File

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

Output

Generates a Pandas dataframe and saves it to a spreadsheet. By default the results are sorted as you're most likely looking for the largest entry in the symbols table.

image

Requirements

  • click
  • pandas
  • GNU Bintools

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

object_symbols_parser-0.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for object_symbols_parser-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 67a8b66179f3c97bb56fef5160a292e2739fd5599bb332ebf5c4f20d2b57b786
MD5 5b78270e0fe96f40a71c199fa7cdbbec
BLAKE2b-256 6dcee121103cf2f7ea4f4f894b96365b9a7140ba51fefa91244fa77efc7661cf

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