frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

ZTHR – what replaces code review when AI agents write all the code

https://zthr.ai/
1•SymmetricalZero•1m ago•0 comments

Notes on Fable 5.2

https://llmleaderboard.com/guides/claude-fable-5-2
1•anitakirkovska•3m ago•0 comments

CoreWeave bond yield tops 16% as AI credit stress rises

https://www.cnbc.com/2026/11/06/coreweave-bond-yield-tops-16percent-as-ai-credit-stress-rises.html
2•lxm•3m ago•0 comments

Slack bot can now generate its own UI on demand

https://vercel.com/changelog/json-render-and-chat-sdk-agents
1•flashbrew•5m ago•0 comments

Charleston AI

https://ai-chs.com/
1•bhartzer•8m ago•0 comments

QNet: Post-quantum Layer-1 in Rust using native ML-DSA-65 signatures

https://github.com/AIQnetLab/QNet-Blockchain
1•egheose13•8m ago•0 comments

Show HN: Kinsona – a hotel booking site that shows its cut on every booking

https://kinsona.com/
1•kinsona•9m ago•1 comments

Show HN: AI Frothiness Index. Daily reading of how stretched the AI boom is

https://frothiness.jagular.io
1•psiberaktiv•10m ago•0 comments

Sheet Music Deserves Better, So We Built Our Own Company [video]

https://www.youtube.com/watch?v=8YXRcR5jJqY
1•Udo_Schmitz•10m ago•0 comments

Microsoft patent: turning idle gaming GPUs into paid AI training hardware

https://videocardz.com/newz/microsoft-could-pay-gamers-for-using-spare-gpu-capacity-to-train-ai
1•simonpure•13m ago•0 comments

Cult of the Dead Cow Reboot [Apr 2026]

https://cultdeadcow.com/news/declaration_rebooted.html
3•sans_souse•14m ago•1 comments

Guns on Amtrak Trains? A Workers Union Is Up in Arms.

https://www.nytimes.com/2026/11/09/travel/amtrak-guns-workers-union.html
1•bookofjoe•17m ago•1 comments

Daybreak says I'm all set. Codex still blocks my own security audit

https://namegarage.com/blog/daybreak-blocked-my-own-security-audit
1•nikolay•22m ago•0 comments

Nvidia's AI advantage is moving beyond the GPU

https://techcrunch.com/2026/08/29/nvidias-ai-advantage-is-moving-beyond-the-gpu/
1•gmays•24m ago•0 comments

$16k and a Solar Panel

https://blog.greg.technology/2026/11/08/16k-and-a-solar-panel.html
2•gregsadetsky•26m ago•0 comments

Debloat Any Android or Google TV over Wi-Fi

https://github.com/Gathin23/cleanyourtv
1•spectraldrift•28m ago•0 comments

Serc: CPython bytecode compiler written in Rust (Codex built, 2-4x speedup)

https://github.com/astral-experiments/serc
2•agustaf•30m ago•1 comments

OpenAI models have no agency anymore

3•l-mdev•32m ago•0 comments

ASRock Rack DMRD16-2L+ Spotted with 16 DDR5 Slots for Diamond Rapids

https://www.servethehome.com/asrock-rack-dmrd16-2l-plus-diamond-rapids-ocp-summit-2026/
1•peter_d_sherman•32m ago•0 comments

Bloomberg Software Support

https://www.blpprofessional.com/
1•enjoyyourlife•34m ago•0 comments

Why Fewer People Are Challenging Bad Patents

https://www.eff.org/deeplinks/2026/11/why-fewer-people-are-challenging-bad-patents
2•gslin•38m ago•0 comments

Which Claude model should you build with? Fable, Opus, Sonnet, or Haiku

https://claude.dev/blog/which-claude-model-should-you-build-with/
2•882542F3884314B•38m ago•0 comments

There's a Reason for Holes on the Tops of Pen Caps (2016)

https://www.sciencealert.com/why-there-are-holes-in-tops-of-pen-caps-lids-bic
1•helloworld•38m ago•0 comments

iyi: A friendly, fast programming language for people and their agents

https://iyi.dev/
2•sedatk•40m ago•0 comments

Show HN: Fynepdf-pdfa – PDF/A conversion without Ghostscript (MIT)

https://github.com/fynepdf/fynepdf-pdfa
1•biaz•46m ago•0 comments

American Express is cutting 5% of its workforce to 'prepare for AI'

https://www.cnbc.com/2026/10/23/american-express-job-cuts.html
4•lxm•48m ago•1 comments

Anthropic Seeks to Raise $69.3B via Its IPO

https://www.bloomberg.com/news/articles/2026-11-10/anthropic-seeks-to-raise-69-3-billion-via-its-...
3•mfiguiere•49m ago•0 comments

Anthropic sends out, then retracts details of IPO filing, emails show

https://www.reuters.com/business/anthropic-aims-raise-up-693-billion-blockbuster-ipo-2026-11-10/
2•nycdatasci•49m ago•1 comments

Should learning to code be like learning to read?

https://olu.online/should-learning-to-code-be-like-learning-to-read/
3•meetpateltech•55m ago•1 comments

UK mathematician debunks myth around Parthenon's optical illusions

https://www.theguardian.com/science/2026/sep/16/uk-mathematician-debunks-myth-parthenon-optical-i...
2•NordStreamYacht•56m 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).