"Twiggy analyzes a binary's call graph"
.wasm, partial ELF & Mach-O support
Supported tags and respective
docker run -v /samples:/samples cincan/twiggy <OPTIONS> /samples/sample.wasm
-h, --help :Prints help information -V, --version :Prints version information diff :Diff the old and new versions of a binary to see what sizes changed. dominators :Compute and display the dominator tree for a binary's call graph. garbage :Find and display code and data that is not transitively referenced by any exports or public functions. help :Prints this message or the help of the given subcommand(s) monos :List the generic function monomorphizations that are contributing to code bloat. paths :Find and display the call paths to a function in the given binary's call graph. top :List the top code size offenders in a binary.