Hacker GitHub

← All repos

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

Mentions per year 31 mentions · busiest year 2020 (7)
20082026
  1. …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?
  2. …Xtensa, so I had to write an alternative. ¹ https://github.com/project-chip/connectedhomeip/ ² https://github.com/google/bloaty
  3. …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
  4. I'm surprised they didn't go for the binary size analysis tools like https://github.com/google/bloaty Or goweight.
  5. ▲ 2
    Bloaty McBloatface
    story by nceqs3 · 2022-01-01 · 0 comments
  6. Loggy McLogface Like the other Google project, Bloaty McBloatface. https://github.com/google/bloaty
    comment by smnrchrds · 2022-01-01 · in Log4jscanner
  7. A famous one is Google's Bloaty McBloatface [1]. It's a very powerful and useful tool. 1. https://github.com/google/bloaty
  8. …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).
  9. …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…
  10. ▲ 3
    Bloaty McBloatface: a size profiler for binaries
    story by archagon · 2021-04-13 · 0 comments
  11. 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
  12. ▲ 1
    Bloaty McBloatface: a size profiler for binaries
    story by da_big_ghey · 2020-12-30 · 0 comments
  13. …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?
  14. ▲ 1
    Bloaty McBloatface: a size profiler for binaries
    story by fanf2 · 2020-05-26 · 0 comments
  15. ▲ 4
    How Bloaty Works
    story by ingve · 2020-05-25 · 0 comments
  16. ▲ 2
    Bloaty McBloatface: a size profiler for binaries
    story by simonpure · 2020-04-19 · 0 comments
  17. 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…
  18. …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…
  19. 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
  20. 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.
  21. 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:…
  22. …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…
  23. 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.
  24. …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
  25. wonder what would https://github.com/google/bloaty say about those binaries...
  26. ▲ 2
    Bloaty McBloatface: a size profiler for binaries by Google
    story by alpb · 2017-03-22 · 0 comments
  27. …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
  28. …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)
  29. …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
  30. ▲ 3
    Bloaty McBloatface: a size profiler for binaries
    story by lorenzhs · 2016-11-14 · 0 comments
  31. ▲ 1
    Bloaty McBloatface: a size profiler for binaries
    story by jjuhl · 2016-11-08 · 0 comments