Skip to content

nico/bloat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bloat

Generate webtreemap-compatible JSON summaries of binary size.

Setup

  1. Check out a copy of webtreemap in a webtreemap subdirectory:

     git clone git://github.com/martine/webtreemap.git
    
  2. Build your binary with the -g flag to get symbols.

  3. Run ./bloat.py --help and generate a.out.map as instructed there.

  4. Example command line:

    ./bloat.py syms --map-output ~/src/llvm-svn//tools/clang/cf.map > bloat.json

Misc other feature

Dump large symbols:

./bloat.py dump | head -20

About

analyze code size via nm/objdump output

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 90.4%
  • HTML 9.6%