frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

An AI agent's $20 Kalshi account, with an exact reward model

https://github.com/mirabilis-agent/lip-ledger
1•mirabilisagent•1m ago•0 comments

Shapefit: Turn irregular shape masks into clean polygons

https://github.com/nickponline/shapefit
1•nickponline•1m ago•1 comments

Show HN: Cachety – Watermark ID documents in the browser, nothing is uploaded

https://cachety.com
1•aminmoradi•1m ago•0 comments

But how to get to that European cloud?

https://berthub.eu/articles/posts/now-how-to-get-that-european-cloud/
1•birdculture•1m ago•0 comments

Hermitd, a Claude Code plugin like Claude Tag, but local

https://github.com/gtapps/hermitd
1•gtapps•2m ago•1 comments

CertusAI.dev, the living OS for physical AI

https://certusai.dev/
1•enaguthiabhishe•10m ago•0 comments

Estimating the probability of faults causing inconsistent state

https://tkareine.org/articles/estimating-probability-of-faults-causing-inconsistent-state.html
1•tkareine•10m ago•0 comments

Show HN: One link, one message – replace it by paying $1 more than the last

https://onelinkwins.com/
1•colors__•11m ago•0 comments

Show HN: Rhci – A Small GHCi in Ruby

https://github.com/beleon/rhci
1•rowbin•13m ago•0 comments

The Sleepy Insurance Product That Came to Power Private Credit's Ascent

https://www.wsj.com/finance/the-sleepy-insurance-product-that-came-to-power-private-credits-ascen...
1•kamaraju•13m ago•0 comments

Show HN: THX-01 – Open-source decision model, free API, 60M+ tokens processed

https://twitter.com/reversedoofz/status/2109228322752471304
1•lebagetdefrance•14m ago•0 comments

Hacking Cheap Smart Photo Frames into a Family Dashboard – Wes Bos

https://wesbos.com/hacking-smart-photo-frames
1•tambourine_man•15m ago•0 comments

Ask HN: What is the most obscure book you own?

1•Kovah•15m ago•0 comments

How the AI Boom Ends

https://www.wsj.com/opinion/how-the-ai-boom-ends-0d9d47e7
1•kamaraju•16m ago•0 comments

Nuclear war and malicious use of AI threaten end of humanity by 2100, Lancet say

https://www.healthdata.org/news-events/newsroom/news-releases/new-lancet-commission-provides-road...
2•DeepLogin•18m ago•0 comments

China's Delivery Robots Are Learning to Tackle the Night Shift

https://www.bloomberg.com/news/features/2026-10-08/china-s-delivery-robots-are-learning-to-tackle...
1•radley•20m ago•0 comments

Show HN: Moodi – A tiny 3D character for your app's loading states

https://www.getmoodi.dev
1•itsk0rn3l•24m ago•0 comments

Show HN: LLMxRay an open-source observability tool for LLMs

https://github.com/LogneBudo/llmxray
1•lognebudo•27m ago•0 comments

Air Canada's woeful security at cargo warehouse

https://nationalpost.com/news/air-canadas-woeful-security-at-cargo-warehouse-at-time-of-torontos-...
2•BXLE_1-1-BitIs1•28m ago•1 comments

Ask HN: Pre-AI, did you think harder? Or are you thinking more (and better) now?

2•rishikeshs•28m ago•1 comments

There's No "Going Back": On the receding horizons of the AI transition

https://thelastwave.substack.com/p/theres-no-going-back
1•johanam•31m ago•0 comments

A Remote Employee Refused 160 Webcam Photos a Day. Her Employer Fired Her

https://www.inc.com/chloe-rosenberg/a-remote-employee-refused-160-webcam-photos-a-day-her-employe...
27•bhrlady•38m ago•6 comments

Tattoos You Can Turn on and Off

https://www.livescience.com/technology/cool-chemistry-trick-allows-new-tattoos-to-turn-on-and-off
2•MortyDev•40m ago•0 comments

Show HN: Doiter – Language where pointers and stack frames are Docker containers

https://github.com/simvux/doiter
1•simvux•41m ago•1 comments

The Universal LLM Server

https://zml.ai/llmd/
1•ahamez•41m ago•0 comments

Why 'externalized' proofs of cyclic trait impls does not work

https://smallcultfollowing.com/babysteps/blog/2026/10/10/modular-vs-external-proofs/
1•khalidkhair•44m ago•0 comments

Why demand for the shingles vaccine is soaring

https://www.theguardian.com/society/2026/oct/11/dementia-demand-for-shingles-vaccine-is-soaring
2•robotmay•46m ago•1 comments

A hub that controls all your coding agents in one place

1•mubashir1osmani•52m ago•0 comments

Auto Research: Integer multiplication below n log n

https://app.getsupers.com/auto-research
1•swesnow•56m ago•0 comments

The Present Only Matters If It Gets You Somewhere Else

https://wellnessphd.substack.com/p/the-present-only-matters-if-it-gets
3•jpr71•1h 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).