frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Venture News – HN for funding rounds

1•FailMore•4s ago•0 comments

Decoding, Prompting, and Agents

https://stochastic.blog/decoding-prompting-and-agents/
1•Anon84•2m ago•0 comments

Raku AI-Agent Skill

https://raku-advent.blog/2026/12/04/day-4-raku-ai-agent-skills/
2•antononcube•3m ago•0 comments

Show HN: Python script to help local agents connect Colab/pod easier with E2EE

https://github.com/chaosprint/podwire
1•chaosprint•4m ago•0 comments

The journey of a fast accessible web app: 25 years of traintimes.org.uk

https://www.youtube.com/watch?v=4S0RLnOtqN4
1•fanf2•4m ago•0 comments

Show HN: Asoapi – App Store intelligence API, remote MCP, and free ASO tools

https://asoapi.dev/
1•ghuuuif•5m ago•0 comments

Self-hosted runner security and the problem with persistent runners

https://bitrise.io/blog/post/github-actions-self-hosted-runner-security
1•toddgergey•5m ago•0 comments

Abundance and equality without teaching AI human values. 12 pages

https://github.com/WhitePhoenixDev/Least-Wrong-AI
1•NiklasHenkel•5m ago•0 comments

A Simple Compiler Tutorial [video]

https://www.youtube.com/watch?v=oeqokW6xVG8
1•surprisetalk•6m ago•0 comments

Two-State OpenTofu Drift Supervision on Proxmox

https://blog.auroraweb.com.au/posts/opentofu-two-state-drift-supervision/
1•jacobyz•8m ago•0 comments

US banks are sharing Social Security numbers with advertising giants Reddit, X

https://www.melurna.com/research/psa-online-forms-can-collect-your-data-even-if-you-never-hit-sub...
4•DeepLogin•9m ago•1 comments

Palmer Luckey's Slab, Explained: A 1k-Year Seastead Built for American Indust

https://iiotjob.com/blog/palmer-luckey-slab-seastead-explained
1•ishikawa•9m ago•0 comments

New Qwen4-35B-A3B model knew it didn't know the book. Then it made up three more

https://huggingface.co/unsloth/Qwen4-35B-A3B-GGUF/discussions/10
1•Halbstein•9m ago•0 comments

Canadian streamer detained by ICE days after ride down L.A. River during storm

https://www.latimes.com/california/story/2026-12-03/canadian-streamer-detained-by-ice-days-after-...
1•PaulHoule•12m ago•0 comments

Show HN: Convert any website to an ePub or a book of sites

https://readplace.com/article-to-epub
1•fagnerbrack•13m ago•0 comments

Show HN: System design you can run: 25 concepts in plain Python, checked by CI

https://github.com/mannietech15/system-design-mastery
1•MannieTech•15m ago•0 comments

The Atari Falcon: the computer that arrived too late

https://www.spritefountain.com/atari-falcon-computer-arrived-too-late/
1•oldnetguy•15m ago•0 comments

Arkady Volozh's Interview – Google Couldn't Buy Yandex, So It Tried to Kill It [video]

https://www.youtube.com/watch?v=wNz-vx1RNPE
2•fabura•16m ago•0 comments

Phone Can Spot Undercover Cop Cars for You Using WiFi and Bluetooth

https://www.thedrive.com/news/your-phone-can-spot-undercover-cop-cars-for-you-using-wifi-and-blue...
5•speckx•17m ago•1 comments

Cognition raises $3B at a $78B valuation

https://cognition.com/blog/cognition-at-78b
3•aghuang•18m ago•1 comments

'Historic moment' as Europe to decide on continent's first human space programme

https://www.theguardian.com/science/2026/nov/29/europe-continents-first-human-space-programme-esa...
1•rbanffy•18m ago•0 comments

AI Is Turning Sex Dolls into Romantic Companions

https://www.bloomberg.com/features/2026-ai-companionship-robot-girlfriends/
2•srameshc•19m ago•0 comments

Man dies after eating cheesesteak, deepening mystery of tick-linked allergy

https://arstechnica.com/health/2026/12/killed-by-a-cheesesteak-man-dies-from-mysterious-tick-link...
3•rbanffy•20m ago•1 comments

Five killed in incident at secretive Russian nuclear research facility

https://www.cnn.com/2026/12/04/europe/fatalities-research-institute-russian-nuclear-center-intl
1•defly•21m ago•0 comments

A Physical Modeled Synthesizer

https://vsti.im-a-bird.com/
1•vespervsti•23m ago•0 comments

Chrome will soon block certificate chains that include P-256 CA keys

https://groups.google.com/a/ccadb.org/g/public/c/E4M_IG6VT_o
2•christophetd•24m ago•0 comments

Anatomy of a Counterfeit: Adventures in Fake MicroSD Cards

https://crowsolutions.io/articles/post.html?p=2026-12-02-anatomy-of-a-counterfeit
3•sohkamyung•25m ago•0 comments

Please help me test this

https://vesper.im-a-bird.com/
1•vespervsti•26m ago•0 comments

Asked and Answered

https://www.futilitycloset.com/2026/11/15/asked-and-answered-6/
1•surprisetalk•26m ago•0 comments

Phone Is a Kubernetes Node

https://fzakaria.com/2026/11/27/your-phone-is-a-kubernetes-node
2•pierreneter•28m 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).