google/bloaty
View on GitHub ↗ ★ 5,565 C++
Bloaty: a size profiler for binaries
31 mentions on Hacker News by 20 people: 9 stories, 22 comments · first 2016-11-08 · latest 2026-01-06
20082026
-
…could lead to something more fruitful. [1] https://x.com/emergetools/status/1943060976464728250 [2] https://github.com/google/bloaty [3] https://github.com/lechium/classdumpios [4] https://github.com/NationalSecurityAgency/ghidra
comment by thefilmore · 2026-01-06 · in Why is the Gmail app 700 MB? -
…Xtensa, so I had to write an alternative. ¹ https://github.com/project-chip/connectedhomeip/ ² https://github.com/google/bloaty
comment by kps · 2023-06-15 · in ESP32-C3 Wireless Adventure: A Comprehensive Guide to IoT [pdf] -
…was inlining too aggressively in some cases, causing functions that should be tiny to be 75 kB+. https://github.com/google/bloaty
comment by rbrown46 · 2023-05-07 · in How to make smaller C and C++ binaries -
I'm surprised they didn't go for the binary size analysis tools like https://github.com/google/bloaty Or goweight.
comment by ysleepy · 2023-02-18 · in Reducing Tailscale’s binary size on macOS -
▲ 2
Bloaty McBloatfacestory by nceqs3 · 2022-01-01 · 0 comments
-
Loggy McLogface Like the other Google project, Bloaty McBloatface. https://github.com/google/bloaty
comment by smnrchrds · 2022-01-01 · in Log4jscanner -
A famous one is Google's Bloaty McBloatface [1]. It's a very powerful and useful tool. 1. https://github.com/google/bloaty
comment by steeve · 2021-11-01 · in SizeBench: A new tool for analyzing Windows binary size -
…individual entries in pclntab to specific symbols? If so I'd love to add this capability to https://github.com/google/bloaty which already tries to do per-symbol analysis of many other sections (eh_frame, rela.dyn, etc).
comment by haberman · 2021-04-16 · in My Go executable files are still getting larger -
…them properly, is exactly what led me to create and invest so much effort into Bloaty McBloatface: https://github.com/google/bloaty Bloaty's core principle is that every byte of the file should be attributed to something, so that the sum…
comment by haberman · 2021-04-16 · in My Go executable files are still getting larger -
▲ 3
Bloaty McBloatface: a size profiler for binariesstory by archagon · 2021-04-13 · 0 comments
-
I used my tool Bloaty, which parses the ELF and DWARF information in the binary: https://github.com/google/bloaty
comment by haberman · 2020-12-31 · in Don't Use Protobuf for Telemetry -
▲ 1
Bloaty McBloatface: a size profiler for binariesstory by da_big_ghey · 2020-12-30 · 0 comments
-
…for my favorite size profiler (that is compatible with ELF and other formats): Bloaty McBloatface. https://github.com/google/bloaty
comment by fnayr · 2020-10-29 · in What's in a Linux Executable? -
▲ 1
Bloaty McBloatface: a size profiler for binariesstory by fanf2 · 2020-05-26 · 0 comments
-
▲ 4
How Bloaty Worksstory by ingve · 2020-05-25 · 0 comments
-
▲ 2
Bloaty McBloatface: a size profiler for binariesstory by simonpure · 2020-04-19 · 0 comments
-
I just ran Bloaty ( https://github.com/google/bloaty ) on /usr/bin/touch from Catalina, and I got this: $ bloaty `which touch` -d segments,sections --domain=file FILE SIZE --------------- 55.1% 19.6Ki __LINKEDIT 91.7% 18.0Ki Code Signature…
comment by haberman · 2020-04-11 · in Things That Turbo Pascal Is Smaller Than (2011) -
…flame wars aside, Bloaty McBloatface is a wonderful tool to analyze why the binary size is big: https://github.com/google/bloaty I frequently use this tool to answer questions for C++ binaries, another language that has a penchant for…
comment by kccqzy · 2019-12-30 · in Why are my Go executable files so large? -
I wrote Bloaty ( https://github.com/google/bloaty ) which involved writing a totally custom ELF file parser. Here are some epiphanies I had about ELF while writing it. ELF (and Mach-O, PE, etc) are designed to optimize the creation of a…
comment by haberman · 2019-05-16 · in ELF files on Linux -
I created https://github.com/google/bloaty/issues/110 to track this. I'll try to find time to clean up the patch, but no promises. Lets continue the discussion in the GH issue.
comment by zokier · 2018-04-02 · in Building Tiny Rust Binaries for Embedded Linux -
This was easier than I thought: https://github.com/google/bloaty/compare/master...zokier:rus... and here is the wrapper for rustc-demangle: https://github.com/zokier/rust-demangle-clib Seems to work just fine for my simple use at least:…
comment by zokier · 2018-04-02 · in Building Tiny Rust Binaries for Embedded Linux -
…in the code each bit of .rodata is accessed from, but that seems bit of a stretch. My tool Bloaty ( https://github.com/google/bloaty ) attempts to do exactly this. It even disassembles the binary looking for instructions that reference…
comment by haberman · 2018-04-02 · in Building Tiny Rust Binaries for Embedded Linux -
Shameless plug: my project Bloaty ( https://github.com/google/bloaty ) is a size profiler that shows you both mapped size and file size out-of-the-box.
comment by haberman · 2018-04-02 · in Building Tiny Rust Binaries for Embedded Linux -
…like this, you might like my project Bloaty McBloatface, which can dump size profiles of binaries: https://github.com/google/bloaty
comment by haberman · 2017-06-11 · in Bingrep: Like grep, but for binaries -
wonder what would https://github.com/google/bloaty say about those binaries...
comment by perlpimp · 2017-03-30 · in Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 -
▲ 2
Bloaty McBloatface: a size profiler for binaries by Googlestory by alpb · 2017-03-22 · 0 comments
-
…a size profiling tool that can give much more precise measurements (like size(1) on steroids, see: https://github.com/google/bloaty ). Here is output for LuaJIT: $ bloaty src/luajit -n 5 VM SIZE FILE SIZE -------------- --------------…
comment by haberman · 2017-01-18 · in Pixie – A small, fast, native Lisp -
…symbols, their addresses, segments, and so on. You can also use my new tool Bloaty McBloatface ( https://github.com/google/bloaty ). Check out the -v option especially, which will dump a memory map of both the file domain and the VM…
comment by haberman · 2016-11-20 · in Anatomy of a Program in Memory (2009) -
…ELF parser from Bloaty; I'm happy with how it turned out (the first 400 lines are the ELF parser): https://github.com/google/bloaty/blob/master/src/elf.cc
comment by haberman · 2016-11-17 · in Basic Mach-O binary parser -
▲ 3
Bloaty McBloatface: a size profiler for binariesstory by lorenzhs · 2016-11-14 · 0 comments
-
▲ 1
Bloaty McBloatface: a size profiler for binariesstory by jjuhl · 2016-11-08 · 0 comments