frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Free Will (2026)

https://gt.ms/blog/free-will/
1•geetuu•1m ago•0 comments

Bernie Sanders unveils plan to give the public direct ownership of AI companies

https://apnews.com/article/bernie-sanders-ai-public-ownership-57b9f20d96490083e2749adba0f13977
1•petethomas•1m ago•0 comments

ArsenalOS: Anduril's Digital Manufacturing Backbone

https://www.anduril.com/news/introducing-arsenalos-tm-anduril-s-digital-manufacturing-backbone
1•ilreb•2m ago•0 comments

Claude Fable 5: The harness matters more than the model

https://www.endorlabs.com/learn/claude-fable-5-take-two-same-model-different-harness-and-a-very-d...
1•bugvader•2m ago•0 comments

Estonia assigns personal ID numbers to AI agents to grant them "authorizations"

https://www.bloomberg.com/news/articles/2026-06-17/estonia-to-grant-ai-bots-legal-rights-with-per...
1•thoughtpeddler•4m ago•0 comments

USP – Write once in Markdown, post everywhere

https://github.com/adamarutyunov/usp
1•tmatme•5m ago•0 comments

Making GHC Upgrades Easy

https://blog.haskell.org/making-ghc-upgrades-easy/
1•birdculture•6m ago•0 comments

Loop Unrolling in the ML Era

https://hiraditya.github.io/posts/why-loop-unrolling-is-popular-again/
1•matt_d•7m ago•0 comments

JPEG XL Art Gallery

https://jpegxl.info/art/big_gallery.html
1•6581•7m ago•0 comments

Show HN: A free CLI coding agent, powered by ads

https://freebuff.com
6•moado•9m ago•6 comments

Seven Perfect Shuffles Randomize a Deck of Cards. But How Many Sloppy Ones?

https://www.quantamagazine.org/seven-perfect-shuffles-randomize-a-deck-of-cards-but-how-many-slop...
1•jnord•13m ago•0 comments

Why standard WER fails for Indian languages

https://www.sarvam.ai/blogs/evaluating-indian-language-asr
1•laxmena•13m ago•0 comments

Vlk: MemAct for the IDE – persistent working memory agents can prune themselves

https://github.com/aranajhonny/vlk
1•akatsutki•16m ago•0 comments

Taxonomy of the Occlupanida (parasitoids on bread bag tags)

https://www.horg.com/horg/?page_id=921
4•beatthatflight•19m ago•1 comments

StackOverflow closed my OpenClaw and paperclipAI integration q. as "irrelevant"

https://stackoverflow.com/questions/79958607/how-do-i-view-server-logs-from-paperclipai-being-run...
2•khelavastr•19m ago•0 comments

License Plate Cameras Will Soon Track Phones, Wearables, Infotainment and Pets

https://www.thedrive.com/news/license-plate-cameras-will-soon-track-phones-wearables-infotainment...
4•xoxxala•20m ago•0 comments

Clojure Hosted on Go

https://github.com/glojurelang/glojure
3•dnlo•25m ago•0 comments

Show HN: ML condenses billions of logs into a tiny snapshot your LLM can debug

https://github.com/Rocketgraph/rocketgraph
3•kvaranasi_•25m ago•0 comments

A Secret Microsoft Tool Fixed Windows Performance [video]

https://www.youtube.com/watch?v=jH0BYAkPj78
2•tambourine_man•27m ago•0 comments

Build in Lovable, from Claude

https://xcancel.com/Lovable/status/2067326328110494129
1•doener•27m ago•0 comments

Tensordyne is making AI compute more efficient using logarithms

https://www.zach.be/p/tensordyne-is-making-ai-compute-more
2•hasheddan•30m ago•0 comments

The Free and Open Web Is Under Attack at the IETF

https://www.eff.org/deeplinks/2026/06/free-and-open-web-under-attack-ietf
9•hn_acker•35m ago•0 comments

The (real) dead economy theory

https://pluralistic.net/2026/06/17/its-the-stupid-economy-stupid/
16•hn_acker•35m ago•0 comments

The No Fakes Act Could Silence Satire, Commentary, and News

https://www.eff.org/deeplinks/2026/06/no-fakes-act-could-silence-satire-commentary-and-news
6•hn_acker•36m ago•0 comments

Salvager, Undo for AI agents that edit your files

https://www.salvager.sh/
1•gorkamb•39m ago•0 comments

Show HN: Criterion Closet as a website – pull any of 1,247 films off the shelf

https://the-criterion-closet.vercel.app/
2•olievans•39m ago•1 comments

Hydra – a one-line Gradle RASP that seals app secrets until the device is clean

https://github.com/iamjosephmj/hydra
1•iamjosephmj1•41m ago•0 comments

Treating Agent Reasoning as a Span

https://forestmars.substack.com/p/ai-agents-run-to-completion
1•polynomial•44m ago•1 comments

Compiles any HuggingFace model into a single persistent megakernel

https://twitter.com/Akashi203/status/2067379010762338681
2•OsamaJaber•44m ago•0 comments

Apple Reveals Plans to Raise Prices

https://www.wsj.com/tech/apple-reveals-plans-to-raise-prices-1fbcc1d4
5•mfiguiere•45m 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).