frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Discovering Interpretable Algorithms by Decompiling Transformers to RASP [video]

https://www.youtube.com/watch?v=SCXBQThz16g
2•matt_d•3m ago•0 comments

A Shakeup Is Coming for the Nation-State

https://www.thenewatlantis.com/publications/a-shakeup-is-coming-for-the-nation-state
1•bryanrasmussen•4m ago•0 comments

Which Is Worse: AI Groupthink or Extinction?

https://www.bloomberg.com/opinion/newsletters/2026-09-15/which-is-worse-ai-groupthink-or-extinction
1•johntfella•6m ago•0 comments

M5 Ultra first benchmarks – Geekbench

https://browser.geekbench.com/v7/cpu/354092
1•happyopossum•6m ago•0 comments

Branch Divergence in SIMT Machines: From CFG to Compiler Divergence Analysis [pdf]

https://hsmahesha.github.io/papers/divergence-analysis.pdf
1•matt_d•6m ago•0 comments

How the Strategic Petroleum Reserve Works

https://www.construction-physics.com/p/how-the-strategic-petroleum-reserve
1•gwintrob•7m ago•0 comments

Security Engineering: The Craft Has Changed

https://alexanderschroll.com/blog/the-craft-has-changed/
1•smurda•9m ago•0 comments

I Tested AI Agents for Everyday Work – These Are the Only Ones Worth Using

https://medium.com/@a_siamtanis/i-tested-ai-agents-for-everyday-work-these-are-the-only-ones-wort...
1•mgh2•10m ago•0 comments

'Robots building robots': a 10k unit industrial humanoid robot smart factory

https://www.globaltimes.cn/page/202609/1370528.shtml
1•yogthos•11m ago•0 comments

AWS Says It Can't Restore Some Data from Mideast Facilities Struck by Iran

https://www.wsj.com/world/middle-east/aws-says-it-cant-restore-some-data-from-mideast-facilities-...
2•berkeleyjunk•12m ago•0 comments

Show HN: DeadLock OS – A Linux terminal puzzle game

https://www.crazygames.com/game/deadlock-os-cvg
2•devejesus•12m ago•0 comments

A free website for your business, written by your Google reviews

https://blasa.shop/
1•maherzaidoun•13m ago•0 comments

Transitioning from GUI driven development to AI agent driven development

https://stevechikwiri.substack.com/p/changing-mind-frames-from-building
1•zikani_03•15m ago•0 comments

No Big Deal – is this how AI ends humanity, with a sitcom so bad it bores you?

https://www.theguardian.com/tv-and-radio/2026/sep/15/no-big-deal-review-is-this-how-ai-ends-human...
3•billybuckwheat•15m ago•0 comments

A Vision of a Future Where Machines Fight Wars

https://undark.org/2026/09/11/book-review-lethal-autonomy/
2•EA-3167•16m ago•0 comments

I asked Claude to build AI generator on my own hardware

https://easypeasyvideo.com
1•epv•18m ago•0 comments

The Tournament That Changed Tetris Forever [video]

https://www.youtube.com/watch?v=iYJC4QYmdog
1•CharlesW•18m ago•0 comments

Stag Beetle Is Priced at $90k: But Who Is Buying?

https://www.global-agriculture.com/global-agriculture/stag-beetle-is-priced-at-90000-but-who-is-b...
2•bryanrasmussen•20m ago•1 comments

Pnpm Python Dependencies

https://pnpm.io/python
2•jcbhmr•20m ago•0 comments

Another World: How Did They Make It Look Like a Movie? [video]

https://www.youtube.com/watch?v=ouNVGP7t0g0
1•ibobev•21m ago•0 comments

Voice Acting Arena [Laion]

https://laion.ai/notes/voice-acting-arena/
1•mrfakename•22m ago•0 comments

A.I. Slopware Is Everywhere Now. Nobody Is Using It.

https://www.nytimes.com/2026/09/12/opinion/ai-software-coding-apps.html
6•bookofjoe•25m ago•2 comments

The Frame Loop, Debug Text, and Controller Input

https://www.dgtlgrove.com/p/dg641-the-frame-loop-debug-text-and
1•ibobev•25m ago•0 comments

We Assume DNA Shapes Your Personality, Something Else Does Most of the Work

https://www.sciencealert.com/everyone-assumes-dna-shapes-your-personality-it-turns-out-something-...
1•gmays•25m ago•0 comments

Show HN: HonestSky, a free iOS weather app without ads or subscriptions

https://apps.apple.com/us/app/honestsky-forecast-radar/id6760163384
2•sph130•27m ago•0 comments

For those into GenAI entertainment, I am excited about this hackathon

2•yasmeenfaycurry•29m ago•0 comments

Claude Roulette – chat with strangers while you slop

https://tomjohnell.com/claude-roulette-chat-with-strangers-while-you-slop/
1•tjohnell•30m ago•0 comments

GM's New V8 Trucks Ditch Oil Dipstick for Digital Gauge

https://www.thedrive.com/news/gms-new-v8-trucks-ditch-oil-dipstick-for-digital-gauge
1•cf100clunk•31m ago•0 comments

What if social media isn't hurting kids?

https://www.theverge.com/policy/995704/peter-gray-restoring-childhood-jonathan-haidt
3•pavel_lishin•34m ago•0 comments

Local LLM engine where a tool call cut by the token limit still parses

https://xyntetik.com/runner/truncation-safe-tool-calling/
2•JoakimPalm-Zen•36m 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).