frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

German AI consortium releases Soofi S, an open 30B model that tops benchmarks

https://the-decoder.com/german-ai-consortium-releases-soofi-s-an-open-30b-model-that-tops-benchma...
1•amai•27s ago•0 comments

The Hunt for the Counterfeiter Trying to Make the Perfect Bill

https://www.nytimes.com/2026/07/16/magazine/counterfeit-dollars.html
1•paulpauper•39s ago•0 comments

Funding Canonical Visions //GMs

https://amazing-lantern-c21.notion.site/Funding-canonical-visions-GMs-396adeecc3dc804ab012f015f3b...
1•paulpauper•1m ago•0 comments

The Decline of Sumptuousness in Cinema

https://yakimenko.substack.com/p/on-the-decline-of-sumptuousness-in-451
1•paulpauper•1m ago•0 comments

ACT-2 Preview: Sunday Robotics

https://twitter.com/tonyzzhao/status/2077806003308179802
1•manmeet•1m ago•0 comments

An overview of language features and implementation tasks that contribute toward

https://ghc.serokell.io/dh
1•fanf2•3m ago•0 comments

Teleprompter operator investigated over alleged Kalshi trades on Trump speeches

https://www.axios.com/2026/07/16/white-house-teleprompter-kalshi-investigation
1•doctoboggan•3m ago•0 comments

Show HN: Tree, truth, druid, dryad, and tar share one Proto-Indo-European root

https://p.migdal.pl/tree-of-tree/
1•stared•3m ago•0 comments

Flight Planning with Little Navmap

https://tech.marksblogg.com/little-navmap-flight-planning.html
1•marklit•4m ago•0 comments

Control of shear thickening rheological properties of polishing slurry(2021) [pdf]

https://www.euspen.eu/knowledge-base/ICE21153.pdf
1•pillars•4m ago•0 comments

Show HN: Custom Claude Status Lines

https://claudelines.com/
2•OG_BME•4m ago•1 comments

What can we learn from Bun's rapid Rust rewrite with AI?

https://newsletter.pragmaticengineer.com/p/the-pulse-what-can-we-learn-from-07f
1•pseudolus•5m ago•0 comments

It's shovels all the way down

https://jamesthomason.com/its-shovels-all-the-way-down/
1•dollar•6m ago•0 comments

FDA Approves First Oral Therapy That Inhibits PCSK9

https://www.fda.gov/drugs/news-events-human-drugs/fda-approves-first-oral-therapy-inhibits-propro...
1•michaefe•6m ago•0 comments

Cloudflare Outage Ongoing

https://slacreditwatch.com/i/cloudflare/kdnfshk5vs51
1•devd1976•7m ago•0 comments

Mushroom.app (Apple Intelligence, On-Device)

https://www.getmushroom.app/
1•qpe0•8m ago•0 comments

Visa Vulnerability Agentic Harness

https://github.com/visa/visa-vulnerability-agentic-harness
2•wslh•8m ago•0 comments

Guix: Creating a Package from a Binary

https://aloysberger.com/posts/guix-packaging-a-binary-as-a-guix-beginner.html
1•birdculture•8m ago•0 comments

Show HN: Dashi – Join the Social Analytics Experience

https://www.dashimetrics.com
1•launchpact_io•9m ago•0 comments

The Smith Chart: turning transmission line math into circles and arcs

https://www.nutsvolts.com/magazine/article/the-smith-chart
2•fcjr•10m ago•0 comments

Weston 16: HDR-ready, improved debugging, and DRM back end features

https://www.collabora.com/news-and-blog/news-and-events/weston-16-hdr-ready-improved-debugging-an...
2•losgehts•11m ago•0 comments

A Claude:// link could auto-submit hidden prompts in Claude Desktop

https://www.oasis.security/resources/reports/claude-url-scheme-prompt-injection
1•logickkk1•11m ago•0 comments

For Software Engineers, the AI Reckoning Is Here

https://www.bloomberg.com/news/features/2026-07-16/anthropic-and-openai-tools-transform-the-profe...
1•evo_9•13m ago•0 comments

Dallas Fed President calls for 'modestly' higher interest rates

https://www.cnbc.com/2026/07/16/dallas-fed-president-logan-calls-for-modestly-higher-interest-rat...
1•root-parent•13m ago•0 comments

I Made a Channel on Primal.net

https://primal.net/p/nprofile1qqsyj04902rxw3g9ecgjc9z0gtxa2pdsnuuh4ledv9n89gk29l23nus6au09l
1•doomsday1460•14m ago•2 comments

Show HN: HyperShots – Spec-perfect App Store screenshots from coding agents

https://github.com/hypersocialinc/hypershots
1•selcuk•14m ago•0 comments

Making Fable Cheaper Than Opus

https://twitter.com/joon_h_lee/status/2076714221837173097
1•gmays•15m ago•0 comments

Trump teleprompter operator allegedly made Kalshi bets

https://www.cnbc.com/2026/07/16/trump-kalshi-teleprompter-cftc-investigation.html
3•root-parent•15m ago•1 comments

99% on ARC-AGI 3 (public eval, with harness)

https://xcancel.com/akanazawa/status/2077790673131229195#m
4•E-Reverance•17m ago•0 comments

Show HN: View GitHub attachments in a gallery (HTML explainers, screen videos)

https://twitter.com/plannotator/status/2077798652974874940
1•ramoz•18m 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).