frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

What makes a game tick? Part 9.5 – The Curse of the Scheduler Latency

https://mropert.github.io/2026/10/20/making_games_tick_part9_5/
1•ibobev•22s ago•0 comments

New Skydance Worth Less Than Half of Warner Brothers, Paramount Combined

https://www.techdirt.com/2026/10/20/new-skydance-already-worth-less-than-half-of-warner-brothers-...
1•cdrnsf•1m ago•0 comments

More Debt, Less Problems: E.U. Debt Is Good

https://www.noelmaurer.com/p/more-debt-less-problems-eu-debt-is
1•barry-cotter•1m ago•0 comments

An Experiment in AI Peer Review

https://kevinmunger.substack.com/p/an-experiment-in-ai-peer-review
1•surprisetalk•1m ago•0 comments

Missing the Psychosis Forest for the AI Trees

https://figbert.com/posts/digital-psychosis/
1•recursive-call•3m ago•0 comments

Show HN: SentinelGate – Drop prompt injections at Token 0 before LLM inference

https://sentinelgate.dev
1•regsiren•3m ago•0 comments

More than 4 in 10 UK teenagers want more work experience opportunities at school

https://www.bbc.com/news/articles/c6m2dmdxgz2xo
2•theanonymousone•7m ago•0 comments

TI C66X / Ad Sharc+ Decompilers

1•kavinsky777•7m ago•0 comments

Ask HN: Are agent benchmarks the new credit ratings?

1•mercator_one•8m ago•0 comments

Glassy UI: Glass Components for Web and Mobile

https://glassyui.com
1•alexburlis•9m ago•0 comments

Startup Claims to Treat a Patient with A.I.-Created Viruses

https://www.nytimes.com/2026/10/20/science/ai-virus-bacteria-radical-numerics.html
1•vinni2•11m ago•0 comments

Zelensky prepares for Oslo talk with US envoys as Rubio denies withholding Intel

https://www.bbc.com/news/articles/ck9qzn193lrlo
1•tartoran•12m ago•0 comments

Show HN: MarkItDown AI – Convert documents to Markdown locally in the browser

https://markitdownai.org
2•akageae•12m ago•0 comments

Space warfare in your own eyepiece?

https://spaceweather.com/
1•voxleone•13m ago•0 comments

Friction Was the Safeguard: AI Worms, AI-Ported Games and Bioweapons

https://macanorak.com/everything-everywhere-all-at-once/
1•ReturnoftheHack•15m ago•0 comments

Thinking, Fast and Wrong

https://deadneurons.substack.com/p/thinking-fast-and-wrong
1•nr378•16m ago•0 comments

Model weights can be exfiltrated through an LLM API's token choices

https://weights-exfil.github.io/model-weights-exfiltration/
1•Kravty•16m ago•0 comments

Demographic "Doomsday" Misses the Mark

https://www.science.org/doi/10.1126/science.ael8752
8•YeGoblynQueenne•19m ago•1 comments

They Fled Trump's America. Now They Regret It

https://www.wired.com/story/they-fled-trumps-america-now-they-regret-it/
2•dkobia•20m ago•1 comments

Show HN: Vibe Prospecting – B2B Prospecting from Claude and Claude Code via MCP

https://github.com/explorium-ai/vibeprospecting-mcp
2•zivnadil•21m ago•0 comments

Scientists Discover a Particle Explains the Origin of Reality

https://www.404media.co/scientists-discover-a-strange-particle-explains-the-origin-of-reality/
1•gumby•21m ago•1 comments

Swiss Government Emergency Preparation Calculator

https://www.notvorratsrechner.bwl.admin.ch/en
1•speckx•21m ago•0 comments

Monte-Carlo Simulations

https://bubbles.town/entry/44798196
1•surprisetalk•21m ago•0 comments

I built Giverny – a native terminal for Cluade Code and Codex

https://github.com/y0av/giverny
1•m0op•23m ago•0 comments

Zirql: Extracting a Shared Query Language

https://zayenz.se/blog/post/zirql/
2•ibobev•23m ago•0 comments

Four Years with Decker

https://beyondloom.com/blog/fouryearsdecker.html
1•ibobev•23m ago•0 comments

Running Microsoft Flight Simulator 2024 on Apple Silicon Without Rosetta

https://gethighball.com/docs/flight-simulator-2024-apple-silicon/
1•gauthierpiarret•24m ago•0 comments

What Happened to Epyx

https://dfarq.homeip.net/what-happened-to-epyx/
2•ibobev•24m ago•0 comments

Apple broke an essential presentation feature of iPads

https://teddysvoronos.com/2026-10-19-apple-broke-an-essential-presentation-feature-of-ipads/
2•evanb•24m ago•0 comments

Tracing Sanctioned Authors' Words from Wikipedia into LLM Output [pdf]

https://anomalylabs.co/who-wrote-the-answer.pdf
2•lambrina•24m 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).