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.
Requirements
- Python packages: click, pandas
- GNU Binutils (objdump must be installed and in your system path or toolchain directory)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0193ad37d6260694c2c438f7fe739f7067eb4d3551f55a85ffec560a96a862c1
|
|
| MD5 |
5f248cff96e9db6ca9ddb14daa1fee38
|
|
| BLAKE2b-256 |
a555c642b237e95edf177db9558af1f25bf72e860b4cef4cd32fa0e8f548f3bf
|
Provenance
The following attestation bundles were made for object_symbols_parser-0.1.2.tar.gz:
Publisher:
cd.yml on snhobbs/object_symbols_parser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
object_symbols_parser-0.1.2.tar.gz -
Subject digest:
0193ad37d6260694c2c438f7fe739f7067eb4d3551f55a85ffec560a96a862c1 - Sigstore transparency entry: 317710661
- Sigstore integration time:
-
Permalink:
snhobbs/object_symbols_parser@90da0b4a10655de4329bbe94d7499232d1ddcfa4 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/snhobbs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@90da0b4a10655de4329bbe94d7499232d1ddcfa4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file object_symbols_parser-0.1.2-py3-none-any.whl.
File metadata
- Download URL: object_symbols_parser-0.1.2-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c05702eec2107cfcce8918a7be916bbd2ec8812fa2705277576f7d8e027ae6c
|
|
| MD5 |
08e44ca4f1a204a47ef44304ff5a31b4
|
|
| BLAKE2b-256 |
7265580270077fcf026a118f421bdfafe183aa276b0b028f236f79756a69b689
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
object_symbols_parser-0.1.2-py3-none-any.whl -
Subject digest:
5c05702eec2107cfcce8918a7be916bbd2ec8812fa2705277576f7d8e027ae6c - Sigstore transparency entry: 317710687
- Sigstore integration time:
-
Permalink:
snhobbs/object_symbols_parser@90da0b4a10655de4329bbe94d7499232d1ddcfa4 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/snhobbs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@90da0b4a10655de4329bbe94d7499232d1ddcfa4 -
Trigger Event:
push
-
Statement type: