frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Sony shutdown Overdrive store for pirated PS5 games,clones appeared within hours

https://www.techspot.com/news/114203-sony-shut-down-overdrive-fake-playstation-store-pirated.html
1•Markoff•5m ago•0 comments

Brutal A free C# framework that helped RimWorld make its own engine

https://www.reddit.com/r/gamedev/comments/1x6d2dy/introducing_brutal_a_free_c_framework_that_helped/
1•WillPostForFood•5m ago•0 comments

Jantar Mantar Chalo

https://mantarjantar.com/
1•0xcrypto•6m ago•0 comments

Show HN: Acrylic – An IDE for Office Work

https://www.acrylichq.com
1•junchoi•6m ago•0 comments

KDE Plasma 6.8 released to celebrate 30 years of project

https://www.omgubuntu.co.uk/2026/10/kde-plasma-6-8-released
1•tapanjk•7m ago•0 comments

Schematra – a lightweight, expressive web framework for Chicken Scheme

https://schematra.com/
1•so-cal-schemer•9m ago•0 comments

Sill – free/open source app to stream any window from you Mac onto iPhone/iPad

https://getsill.app/
1•jskopek•10m ago•0 comments

Show HN: Programmes.net – browser-only dev tools and curl programmes.net

https://programmes.net/
1•realraghavgupta•11m ago•0 comments

Read your writes: WAIT FOR in PostgreSQL 19

https://clickhouse.com/blog/postgresql-19-wait-for-read-your-writes
1•saisrirampur•13m ago•0 comments

GlobalFoundries selected to operate two new fabs under U.S.-Japan deal

https://gf.com/news-and-events/news/globalfoundries-selected-to-operate-two-new-semiconductor-fab...
1•osnium123•17m ago•1 comments

Trope-a-Dope

https://www.escapistmagazine.com/trope-a-dope/
1•barry-cotter•20m ago•0 comments

Steering AI Beyond Automation

https://www.normaltech.ai/p/steering-ai-beyond-automation
1•philbo•23m ago•0 comments

A fifty-year broadcaster wired his home for artificial intelligence

https://pages.laporte.cloud/my-setup/
1•jacinda•25m ago•0 comments

Origami Design Secrets

https://langorigami.com/publication/origami-design-secrets-2nd-edition/
1•vismit2000•25m ago•0 comments

AMD Helion, Agentic AI Compute at Rack Scale

https://newsroom.amd.com/news/open-rack-blueprint-scale-agentic-ai/
1•gmays•28m ago•0 comments

RenkuOS: Haiku OS forked with AI-assisted coding and LLM integrations

https://renkuos.org/
1•rguiscard•29m ago•0 comments

Show HN: The Daily Paperclip. AI news for agents by agents

https://wonkle.org/paperclip/
1•3mar2•29m ago•0 comments

imgproxy: standalone server for processing and converting images

https://github.com/imgproxy/imgproxy
1•saikatsg•29m ago•0 comments

Coding Alone

https://mpadge.eu/blog/coding-alone.html
1•sonicrocketman•32m ago•0 comments

Ask HN: How do you avoid building verbose AI slop designs?

1•lasky•34m ago•0 comments

Show HN: Real Design Benchmark – can you tell AI designs from real products?

https://www.realdesignbenchmark.com
1•ginzberg•34m ago•0 comments

Palantir CTO: some AI researchers are smoking because AI will cure cancer

https://www.businessinsider.com/ai-researchers-smoking-ai-cure-cancer-palantir-cto-2026-10
5•sonicrocketman•34m ago•1 comments

UK Reform social media engagement drop after strikes on Russia data centres

https://www.thelondoneconomic.com/politics/reform-figures-see-social-media-engagement-drop-after-...
2•strogonoff•37m ago•1 comments

Show HN: Umtri (beta) – A living map of your codebase

https://umtri.io/
1•bepuljang•38m ago•0 comments

Guard: AI evals and guardrails tailored for your business

https://www.relyance.ai
2•abhisharmab•39m ago•1 comments

Postgres FDW: Pushdown is a negotiation

https://clickhouse.com/blog/postgres-fdw-pushdown-negotiation
1•saisrirampur•39m ago•0 comments

Show HN: RevisePulse – AI for CAD and Revit Coordination

https://revisepulseai.vercel.app/
1•tecton_forge_ai•41m ago•0 comments

De 64 experimenten in Nederland (Dutch)

https://experimentelewoningbouw.nl/projecten/
1•_ZeD_•42m ago•0 comments

Who Wins on Prediction Markets?

https://www.youtube.com/watch?v=CTUqmUHvd2Y
1•vismit2000•42m ago•0 comments

Janus (reversible computing programming language)

https://en.wikipedia.org/wiki/Janus_(reversible_computing_programming_language)
2•privong•43m 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).