https://github.com/fasterthanlime/substance
A library version of cargo-bloat & more
https://github.com/fasterthanlime/substance
Last synced: 11 months ago
JSON representation
A library version of cargo-bloat & more
- Host: GitHub
- URL: https://github.com/fasterthanlime/substance
- Owner: fasterthanlime
- License: mit
- Created: 2025-06-08T17:10:37.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-30T11:15:16.000Z (12 months ago)
- Last Synced: 2025-07-30T05:19:21.156Z (11 months ago)
- Language: Rust
- Size: 467 KB
- Stars: 33
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# substance
A Rust library for analyzing the size composition of binaries by examining their symbols and mapping them back to their originating crates.
Supports ELF (Linux, BSD), Mach-O (macOS) and PE (Windows) binaries. Originally derived from cargo-bloat but redesigned as a library.
## Attribution
- **Binary analysis**: Originally derived from [cargo-bloat](https://github.com/RazrFalcon/cargo-bloat) by RazrFalcon
- **LLVM IR analysis**: Inspired by [cargo-llvm-lines](https://github.com/dtolnay/cargo-llvm-lines) by dtolnay, which was originally suggested by @eddyb for debugging compiler memory usage and compile times
## License
Licensed under the MIT license.