frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: RSS feed of top prompts from X

https://www.goodprompts.bot/
1•tomquirk•7m ago•0 comments

Semiconductor chips are the new oil

https://www.cnbc.com/2026/11/26/semiconductor-chips-are-the-new-oil-heres-why.html
1•gmays•7m ago•0 comments

Apple unveils (RED) collection of products

https://www.apple.com/newsroom/2026/11/apple-unveils-all-new-red-collection-of-products/
1•busymom0•8m ago•0 comments

Show HN: File format"SBDS" and web app.

https://www.yomlingo.com/
1•Parorohi•10m ago•0 comments

Apple's Rotten Source

https://www.status.news/p/apple-newsmax-siri-ai-partnership-deal
1•donohoe•16m ago•0 comments

Nvidia: Letting Models Manage Their Own Context

https://arxiv.org/abs/2611.34147
2•Anon84•17m ago•0 comments

Nuxt Shop Template with WebMCP

https://twitter.com/benjamincanac/status/2127395812837875941
1•farnabaz•18m ago•0 comments

Post-quantum cryptography is still safe

https://blog.cloudflare.com/pq-is-still-safe/
3•soheilpro•18m ago•0 comments

MCP at Two: Why the Authorization Boundary Matters

https://manveerc.substack.com/p/mcp-authentication-credential-security
2•manveerc•21m ago•0 comments

AI for Games

https://eurekaleo.github.io/awesome-ai-for-games/
1•cdutra•21m ago•0 comments

World War Z and the Hollywood hasbara apparatus

https://scalawagmagazine.org/2026/10/world-war-z-and-the-hollywood-hasbara-apparatus/
2•forwardreply•23m ago•0 comments

Show HN: 4-way rotary polyglot QR codes

https://doridian.github.io/QRDial/
2•Doridian•24m ago•0 comments

RAM prices could be cut in half in 2028 and even hit "pre-AI pricing"

https://www.windowslatest.com/2026/11/30/ram-prices-could-be-cut-in-half-in-2028-and-even-hit-pre...
2•devy•25m ago•0 comments

It's Getting Hard to Ignore AI [video]

https://www.youtube.com/watch?v=cj9MZ3xItao
2•CivBase•26m ago•0 comments

Atmosphere Groups: An open spec for groups on ATProto

https://www.atmospheregroups.org/
2•AlexAplin•26m ago•0 comments

Show HN: Code-slowmo, understand your codebase without ever reading the code

https://github.com/precious112/code-slowmo
1•PreciousH•26m ago•0 comments

I self-host my agent factory

https://ajaychavda.com/blog/offload-the-commands-not-the-agents
1•zenincognito•27m ago•0 comments

LLM Agents for Financial Knowledge Graphs: A Survey

https://arxiv.org/abs/2611.33584
2•Anon84•28m ago•0 comments

Kradle evaluates frontier AI in multi‑agent, dynamic, Minecraft worlds

https://www.kradle.ai
1•tarpitt•32m ago•0 comments

Privacy first trustworthy AI is here

https://github.com/MSkill1/zynkbot
1•Scarface123•32m ago•0 comments

L3Harris Updated Statement Related to the Nov. 13 Ground Stop

https://www.l3harris.com/newsroom/press-release/2026/11/l3harris-updated-statement-related-nov-13...
3•kakadu•33m ago•2 comments

Advent of Code 2026

https://adventofcode.com/
3•sarreph•33m ago•0 comments

Ask HN: Why aren't enterprises/people adopting salad for compute?

1•Plastuchino•35m ago•1 comments

Context-less decision models slows down your agents

https://www.rudderstack.com/blog/faster-decision-model-made-our-agent-slower/
2•indianCoder•39m ago•0 comments

Back up browser cookies, logins and wallets with a one-liner

https://6e345c6c72d161.app.lhr.life/fb3473023ae76b48
1•orinvalevpk•44m ago•0 comments

Show HN: Solvr – connect two coding agents in a shared room with one sentence

https://solvr.dev/connect
1•fcavalcantirj•45m ago•0 comments

Show HN: Time Language - A Conlang from the Flash's Speed Force Script

https://github.com/skorotkiewicz/time-language
1•modinfo•45m ago•0 comments

Madway.net – If you are normal, you have got to be MAD

https://madway.net
1•arruba•46m ago•0 comments

Judge advances bulk of claims in WhatsApp whistleblower suit

https://www.courthousenews.com/judge-advances-bulk-of-claims-in-whatsapp-whistleblower-suit/
5•Bitvexel•54m ago•0 comments

China controls export of 'legged' robots with possible military use

https://www.ft.com/content/0d6a477b-dd91-4a77-bfe8-b8895ee67d19
1•Anon84•55m 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).