frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

InfiniWord – Infinite Multiplayer Word Search

https://infiniword.com/
1•Static2280•3m ago•1 comments

We're going to need default hard budget caps on pretty much everything

https://simonwillison.net/2026/Oct/3/default-hard-budget-caps/
2•elffjs•7m ago•0 comments

Show HN: ViralWiz – AI captions, clips and thumbnails for short-form video

https://viralwiz.co
1•moustaqim•14m ago•0 comments

Show HN: jpm – a JavaScript package manager in Rust, every line by Claude Code

https://getjpm.sh/
1•jtwebman•15m ago•0 comments

Apple's "Clean Design" Is Stupidity When It Comes to Hiding Fire Extinguishers

https://www.gadgetreview.com/apples-clean-design-is-stupidity-when-it-comes-to-hiding-fire-exting...
4•josephcsible•18m ago•1 comments

Show HN: I built a vibe coded website checker for leaked secrets

https://digitup.dev
3•ahmgeek•24m ago•0 comments

We Refined Our Research Methods for Speed

https://medium.com/@vektormemory/the-road-to-vektor-v2-0-a-release-spent-on-refining-dae77404d186
1•vektormemory•25m ago•0 comments

Opus 5.5 and ElevenLabs MCP LeetCode explainer video

https://www.youtube.com/watch?v=vNRnP6oALmc
1•heartbl33d•29m ago•0 comments

Memory API beta testers wanted Temporal Continuity

https://api.rscapex.com/console/beta
1•TomKrysos•30m ago•0 comments

Philip Wadler on the Expression Problem (1998)

https://homepages.inf.ed.ac.uk/wadler/papers/expression/expression.txt
1•drgo•34m ago•0 comments

New AI Research Has Me Asking: Am I Being Mean to AI?

https://felipe.ai/notes/am-i-being-mean-to-ai
1•63labs•35m ago•0 comments

I Retired at 41. Then I Had to Figure Out Who I Was

https://medium.com/@andylaw/i-retired-at-41-then-i-had-to-figure-out-who-i-was-74e77fc9de96
1•andsoitis•37m ago•0 comments

Pipework problems when cancer spreads to an area bordering the brain

https://www.nature.com/articles/d41586-026-02783-z
1•bookofjoe•40m ago•0 comments

Google opens Gemini student hub to Workspace for Education users

https://thelabnotes.com/gemini-student-hub-workspace-education/
2•spy888•47m ago•0 comments

Xnufont

https://github.com/vladkorotnev/xnufont
1•xav_authentique•51m ago•0 comments

The Unstoppable Green Revolution: Adam Tooze [video]

https://www.youtube.com/watch?v=BEmYzxc97K4
1•verdverm•55m ago•0 comments

"8-pinski" – EIGHT() bytes intro for MSDOS [video]

https://www.youtube.com/watch?v=9A-XJjnU5Oo
2•vok•56m ago•0 comments

A Good DIY Solder Stencil Begins with a Cleanly-Sliced Soda Can

https://hackaday.com/2026/10/03/a-good-diy-solder-stencil-begins-with-a-cleanly-sliced-soda-can/
1•whiteblossom•56m ago•0 comments

Show HN: AgentiLoop Agent Mac GUI Agent Loop for macOS 14.6 or Later

https://agentiloop.ai/
1•macOS26•59m ago•0 comments

AI will not make mathematicians obsolete

https://inference-review.com/article/ai-will-not-make-mathematicians-obsolete
2•marojejian•1h ago•1 comments

Second Chances

https://www.nybooks.com/articles/2026/10/22/second-chances-office-politics-wilfrid-sheed/
3•samclemens•1h ago•0 comments

AI share of US market cap

https://theinference.org/indexes/ai-share?range=max
1•magus_stoopr•1h ago•0 comments

PL research is dead, the age of PL exploration is just beginning

https://kirancodes.me/posts/log-end-of-pl.html
2•azhenley•1h ago•0 comments

Declaring a Bird Extinct: The Median Wait Is 36 Years After the Last Sighting

https://birdshistory.com/how-long-to-declare-a-bird-extinct/
3•Heidi_70•1h ago•2 comments

The Mulleted, Meme-Loving Billionaire Behind Meta's Hit AI App

https://www.wsj.com/tech/ai/alexandr-wang-muse-meta-efae7659
2•nradov•1h ago•0 comments

Self-Documenting Atmospheric Breakbeat

https://johnoestmannmusic.com/0010-a-shrine-of-teaching/
2•soundworlds•1h ago•0 comments

Pen vs. keyboard vs. Newton vs. Graffiti vs. Treo vs. iPhone (2010)

https://www.gyford.com/phil/writing/2010/01/18/input/
3•colinprince•1h ago•0 comments

First Hour of My Deposition – Ann Altman vs. Sam Altman [video]

https://www.youtube.com/watch?v=akjrfwYPvy8
4•sensanaty•1h ago•0 comments

Postgres 19: What's New with Monitoring?

https://clickhouse.com/blog/postgres-19-monitoring-whats-new
2•saisrirampur•1h ago•0 comments

Show HN: PeerYeet – P2P file transfer or fail

https://peeryeet.com/
1•dicroce•1h ago•0 comments
Open in hackernews

Ask HN: Help with doing statistics over machine code

2•phafu•1y ago
I'd like to do some statistics over the machine code gcc generates, such as a histogram of used instructions, average volatile/preserved registers usage of functions etc. For now just x86_64 SysV-ABI would be enough.

However I'm not aware of any pre-existing tool that lets me easily do this. The options I currently see are either make gcc output assembly and write a parser for the GNU Assembler format (possibly by reusing the asm-parser of the compiler-explorer project), or write a tool that reads (disassembles) object files directly using elfutils.

Any hints, prior work, further ideas, links to useful resources, or any other kind of help would be much appreciated.

Comments

baobun•1y ago
"Static analysis" should be a relevant search term. Assuming you don't need to tie the instructions back to C code then the "gcc" part seems circumstancial for implementation? I guess you might want to parse the ASM into an Abstract Syntax Tree (AST) represenation and work on that?

If you do want to tie it back to the source, this looks relevant: http://icps.u-strasbg.fr/~pop/gcc-ast.html

phafu•1y ago
For my purpose I don't need to get back to the original source, no.

The gcc part is only relevant with regards to what dialect of assembler I need to parse. If I go that route, I'd write a parser for the GNU assembler, and that would of course work with any code in that dialect, regardless from which compiler it came from (I haven't checked whether other compilers can produce GNU assembler though).