CodeSizer is a static code size profiling tool designed to address the challenges of analyzing binary sizes in embedded firmware where heavy inlining and link-time optimization obscure individual function contributions. By unwinding inline call stacks using objdump and addr2line, it attributes code size accurately to specific nodes in the call tree and generates an interactive HTML report.
Background
Embedded firmware development often requires strict control over binary size, but modern compiler optimizations like inlining make it difficult to determine which functions contribute most to the final executable size. Traditional debuggers or profilers may not accurately reflect the physical layout of optimized code.
- Source
- Lobsters
- Published
- Jul 19, 2026 at 10:32 PM
- Score
- 6.0 / 10