Post #3913088
2026-07-17 23:37 UTC
Uhhh, I got slightly side-tracked. Clicking on the disassembly link takes you to the lowest-addressed instruction that has that scope as a prefix of its inline call stack. Works pretty well considering the inline call body might not exist as a contiguous piece (it's scheduled with other code) and you may have multiple layers of inline call that optimised to nothing.
Replies (1)
-
@wren6991@types.pl 2026-07-18 14:20
It's messy but maybe it's useful to someone, so now up here: https://github.com/Wren6991/CodeSizer/ You need `python3` and a suitable GNU toolchain for your ELF target. I added an example HTML report for the RP2350 A4 ROM if you just want to click around and see what it looks like.