frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The horse made the state

https://aeon.co/essays/the-origins-of-the-state-are-not-agrarian-but-pastoralist
3•ersinesen•1m ago•0 comments

Six Finger Punch

https://tennis.sixfingerpunch.com/
1•bookofjoe•2m ago•0 comments

Show HN: Trieste – A desktop app to organize work and code with multiple agents

https://trieste.app/
1•Trieste_app•3m ago•1 comments

BeachWhisperer: DPA Against NRF52840 Hardware AES with Claude

https://colinoflynn.com/2026/11/nrf52840-beach-dpa/
1•hasheddan•3m ago•0 comments

Waymo pausing all services in Bay Area

https://waymo.com/blog/shorts/sfbasevereweather/
1•lund•4m ago•0 comments

Native Shell – Write only TSX and ship native clients that keep pace with Rust

https://nsh.dev/
1•modinfo•5m ago•0 comments

Bluetooth2shell – One tap of pairing is all it takes

https://bluetooth2shell.com/
2•sidneythekidney•5m ago•0 comments

Frontier models need only one text to unmask its human or AI author

https://arxiv.org/abs/2611.26216
1•jumploops•6m ago•0 comments

GPUI is getting its own repository

https://github.com/zed-industries/gpui
1•EvilGoose•7m ago•0 comments

Seed Method: managing evolving project knowledge through a staging area

https://github.com/tymzap/seed-method
1•tymzap•7m ago•0 comments

The undocumented 249-file limit for Googlebot rendering

https://www.fullstackoptimization.com/a/googlebot-249-file-rendering-limit
1•franze•10m ago•0 comments

Rust GPUI-Kit with components

https://gpui-kit.com/
1•modinfo•10m ago•0 comments

Visuals on each new AI model

https://hypeorcode.com/
1•aistripes•15m ago•0 comments

Nearly all software teams admit to shipping AI-generated code

https://www.techradar.com/pro/nearly-all-software-teams-admit-to-shipping-ai-generated-code-as-st...
3•billybuckwheat•18m ago•1 comments

Nvidia Board Reinstated CEO Without Consulting Management

https://www.bloomberg.com/news/articles/2026-11-23/nvidia-s-about-face-on-huang-made-without-cons...
5•Betelbuddy•20m ago•0 comments

Music-tracker: a self-hosted Last.fm replacement

https://www.jamesleighton.com/2026/11/self-hosted-lastfm-replacement/
2•speckx•20m ago•0 comments

GitHub Markdown Notes Viewer for Mobile

https://doliver.org/posts/github-markdown-notes-viewer-for-mobile
1•d0liver•21m ago•1 comments

Ask HN: Anyone know someone at GitHub to help expedite a support request?

1•eggbrain•21m ago•0 comments

People with Psychopathic Traits Were 25% More Likely to Get a Second Date

https://www.sciencealert.com/people-with-psychopathic-traits-rated-more-highly-in-a-dating-experi...
2•PaulHoule•22m ago•0 comments

El Niño in Colombia [Analysis]

https://sombrerolabs.space/posts/el-nino-map/
1•alejoav28•23m ago•0 comments

Serac

https://mattdesl.substack.com/p/serac
1•bpierre•25m ago•0 comments

Show HN: Console.tty – terminal emulator in browser console

https://github.com/cpendery/console.tty
4•cpendery•25m ago•0 comments

Republicans are breaking with Trump over Jensen Huang

https://www.nytimes.com/2026/11/23/technology/republicans-trump-jensen-huang-nvidia.html
5•qlte•27m ago•1 comments

Jensen Huang's Apology May Be the Only Correct Use of AI

https://www.theatlantic.com/newsletters/2026/11/jensen-huang-ai-apology-nvidia/689366/
6•Bluestein•27m ago•0 comments

#1 decision model: Bison-1, a 31B decision model post-trained from Gemma-4-31B

https://huggingface.co/baselabs/bison-1
3•akman•27m ago•1 comments

Steve Wozniak – Substack

https://stevewoz.substack.com/profile/replies
1•Caarticles•28m ago•0 comments

Next gaming monitor should still be an OLED

https://www.rockpapershotgun.com/theyre-more-complicated-and-more-expensive-than-lcd-screens-but-...
1•Tomte•29m ago•0 comments

You shouldn't do application-level sharding

https://planetscale.com/blog/why-you-shouldnt-do-app-level-sharding
3•theanonymousone•29m ago•0 comments

Why despite AI assistants, I went back to organizing with pen and paper

https://mcradcliffe.substack.com/p/in-the-wake-of-ai-personal-assistants
1•bigpapikite•30m ago•1 comments

Show HN: Just Dashboard, open-source Linux management dashboard

https://just-dashboard.com/
1•Wayy10•31m 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).