Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

snhobbs/object_symbols_parser

Open more actions menu

Repository files navigation

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)

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.