Skip to content

Map each byte in a compiled binary to the corresponding source code file and line. Helps investigate binary bloat.

License

Notifications You must be signed in to change notification settings

Enselic/binary2treemap

Repository files navigation

binary2treemap

Do not use this tool. It is in very early stages of development.

Installation

cargo install binary2treemap

Usage

Build your favourite project in your favourite language. Any langauge that can add DWARF debug info works, not just Rust.

For Rust, you typically want to do this on your favourite project:

rm -rf target
RUSTFLAGS="-g -Cstrip=none" cargo build --release
binary2treemap target/release/your-binary

About

Map each byte in a compiled binary to the corresponding source code file and line. Helps investigate binary bloat.

Resources

License

Stars

Watchers

Forks