/object_symbols_parser

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.

Primary LanguagePythonMIT LicenseMIT

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