Skip to content

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.

License

Notifications You must be signed in to change notification settings

snhobbs/object_symbols_parser

Repository files navigation

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

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages