frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Ray Hosting – Topology-aware game server orchestrator made from scratch

https://ray-hosting.com/en-US
2•bardhyliis•1m ago•0 comments

Why All the PRs?

https://idiallo.com/blog/why-all-the-prs
1•firefoxd•2m ago•0 comments

Bring Siri AI to EU iPhone Users Safely

https://siri4eu.com
1•peterspath•5m ago•0 comments

The Fertile Void

https://d.glezos.com/the-fertile-void/
1•gtzi•7m ago•0 comments

Companies are scrambling to curtail soaring AI costs

https://www.economist.com/business/2026/06/14/companies-are-scrambling-to-curtail-soaring-ai-costs
1•andsoitis•8m ago•0 comments

UK to announce Australia-style social media ban for teenagers

https://www.ft.com/content/e3b7be6f-99e7-42d2-a3bb-e400690c7bc0
1•mmarian•8m ago•1 comments

The Aeneid by Virgil (19B.C.E)

https://classics.mit.edu/Virgil/aeneid.html
1•andsoitis•10m ago•0 comments

Show HN: Pg-status – lightweight HTTP sidecar for PG master/replica discovery

https://github.com/krylosov-aa/pg-status
2•krylosov-aa•10m ago•0 comments

Claude Code Is Dead

https://claude-code-is-dead.vercel.app/
2•gidellav•11m ago•0 comments

Webxdc – Secure mini apps for chats

https://webxdc.org/
1•birdculture•17m ago•0 comments

Paul Krugman breaks down problems with SpaceX valuation [video]

https://www.youtube.com/watch?v=jqjcOs-N6a8
3•jethronethro•18m ago•0 comments

Is Musk the richest American ever now? No, except as a consumer

1•dfps•19m ago•0 comments

CoreAI_HTCE

https://github.com/miroaleksej/CoreAI_HTCE
1•CoreAi_HTCE•21m ago•0 comments

From AGI to ASI

https://arxiv.org/abs/2606.12683
1•artninja1988•24m ago•0 comments

Pilot and 11 skydiving passengers killed in Missouri plane crash

https://www.theguardian.com/us-news/2026/jun/14/butler-missouri-plane-crash
2•sva_•29m ago•0 comments

How to Build a Phyle

https://lasindias.net/indianopedia/How_to_build_a_phyle
1•rwl•31m ago•0 comments

What does high effort mean when AI has made everything low effort?

2•foxtrot8672•31m ago•2 comments

I built a free tool that tells you if an LLM will run on your GPU

https://www.slopesome.com
1•NexAIGuy•31m ago•0 comments

Leave It to Beaver: Everything is bigger at Buc-ee's

https://thebaffler.com/outbursts/leave-it-to-beaver-wilder
1•NaOH•36m ago•0 comments

Virology Research Is Not a Crime

https://rasmussenretorts.substack.com/p/virology-research-is-not-a-crime
3•hn_acker•39m ago•1 comments

Abandoned and Little-Known Airfields

https://airfields-freeman.com/
2•wizardforhire•40m ago•0 comments

2026 Global Peace Index [pdf]

https://www.visionofhumanity.org/wp-content/uploads/2026/06/Global-Peace-Index-2026-Report.pdf
3•simonebrunozzi•40m ago•0 comments

KPMG report on AI found riddled with AI hallucinations

https://www.cityam.com/kpmg-report-on-ai-found-riddled-with-ai-hallucinations/
4•chrisjj•41m ago•1 comments

Compute 'S Atari ST Reference Books – By Paul Lefebvre

https://www.goto10retro.com/p/computes-atari-st-reference-books
2•rbanffy•42m ago•0 comments

Ask HN: I am a junior CS and math major. I have no hope for SWE or math. Advice?

1•jidhn•44m ago•7 comments

Seer – an Ollama workspace where two models build and review code

https://manticthink.com/c/a57jfwt
1•SEERai•47m ago•0 comments

Show HN: I hate typing continue once my CC quota resets

https://github.com/softcane/cc-session-recover
1•pradeep1177•47m ago•0 comments

Frona v2026.6.0 – self-hosted personal AI assistant

https://github.com/fronalabs/frona/releases/tag/v2026.6.0
1•syncerx•47m ago•0 comments

Itty Bitty Mosquito Committee

https://www.ittybittymosquitocommittee.org
1•mlinksva•47m ago•0 comments

Chaosnet

https://tumbleweed.nu/r/lm-3/uv/amber.html
25•RGBCube•51m ago•1 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).