adrianstone55 / SymbolSort

A Utility for Measuring C++ Code Bloat
http://gameangst.com/?p=320
Apache License 2.0
117 stars 17 forks source link

Allow to filter symbols by sections #23

Closed stgatilov closed 6 years ago

stgatilov commented 6 years ago

I'm trying to analyze code size in TheDarkMod game based on idTech4 engine. It turns out that the engine uses global variables a LOT. So when I look at the result, 90% of symbols size is taken by .bss section.

I'd like to add a new parameter, which specifies which sections to include (all sections if it is not present). It would look like:

-sections code,data,rdata

Here is the PR: #24.