Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evmar/bloat
analyze code size via nm/objdump output
https://github.com/evmar/bloat
Last synced: 28 days ago
JSON representation
analyze code size via nm/objdump output
- Host: GitHub
- URL: https://github.com/evmar/bloat
- Owner: evmar
- License: apache-2.0
- Created: 2010-09-20T21:20:14.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2015-04-30T16:10:02.000Z (over 9 years ago)
- Last Synced: 2024-04-14T22:17:11.288Z (8 months ago)
- Language: Python
- Homepage:
- Size: 174 KB
- Stars: 79
- Watchers: 9
- Forks: 19
- Open Issues: 2
-
Metadata Files:
- Readme: README.markdown
- License: COPYING
Awesome Lists containing this project
README
# bloat
Generate [webtreemap][]-compatible JSON summaries of binary size.
[webtreemap]: http://github.com/martine/webtreemap
## 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 `nm.out` as instructed there.
4) Example command line:
./bloat.py --strip-prefix=/path/to/src syms > bloat.json
## Misc other feature
Dump large symbols:
$ ./bloat.py dump | head -20