A collection of tools for analyzing ELF binaries and object files, including section sizes, symbol comparisons, compression potential, and stack unwinding data overhead.
These tools are used in the blog post: Stack walking: space and time trade-offs
compare_symbols.rb- Analyzes and compares function symbols between two executable files, showing size differences for functions above a specified thresholdeh_size.rb- Extracts and analyzes section sizes (.eh_frame, .eh_frame_hdr, .sframe) from ELF files using readelfscan_eh_frame.rb- Analyzes .eh_frame section size distribution across system binaries using bloaty to measure VM size ratiossection_size.rb- Analyzes executable file sections using readelf to extract and analyze section sizes with formatted output tablesshdr.rb- Analyzes section header table compression potential in object files using zstd and xz compression