frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The BBC Strikes Back

https://joycevance.substack.com/p/the-bbc-strikes-back
1•Tomte•3m ago•0 comments

eMudhra faces a bigger test of public trust after security lapse

https://economictimes.indiatimes.com/ai/ai-insights/emudhra-faces-a-bigger-test-of-public-trust-a...
1•thunderbong•10m ago•0 comments

80% to 90% of women reproduce, but only about 40% of men do

https://unchartedterritories.tomaspueyo.com/p/do-women-reproduce-more-than-men
1•tudorconstantin•13m ago•0 comments

Modd: Flexible developer tool that runs processes,responds to filesystem changes

https://github.com/cortesi/modd
1•thunderbong•20m ago•0 comments

Show HN: Free Local Letterboxd Analytics

https://letterboxd.ddns.net/
1•shafiemoji•26m ago•0 comments

DHH's keynote at Rails World: "The most confusing funeral I've ever experienced"

https://www.globalnerdy.com/2026/09/27/dhhs-keynote-at-rails-world-2026-the-most-confusing-funera...
1•gurjeet•37m ago•1 comments

Intel 1103: The Tiny Chip That Killed Magnetic Core Memory and Saved Intel

https://www.youtube.com/watch?v=v3HczTwJHcM
1•cable2600•39m ago•0 comments

Musk claims Ukraine violated Starlink service agreement

https://www.cnbc.com/2026/10/24/ukraine-starlink-starshield-service-restored.html
2•kristianp•40m ago•0 comments

Black October

https://en.wikipedia.org/wiki/Black_October_(information_security)
1•BentonE•44m ago•0 comments

Show HN: Independent Vet – Find locally owned vets (and corporate ones) near you

https://independentvet.com/
2•packeted•48m ago•0 comments

Weight-loss drug reduces sleep apnea in two late-stage trials

https://medicalxpress.com/news/2026-10-triple-action-weekly-weight-loss.html
2•geox•49m ago•0 comments

The Trouble with the View from Above (2010)

https://www.cato-unbound.org/2010/09/08/james-c-scott/trouble-view-above/
1•perused•50m ago•0 comments

Show HN: Git-ing Over it, learn Git like you'll use it IRL

https://git-ing-over-it.vercel.app/
1•k2maan•51m ago•0 comments

Just Dashboard open-source dashboard for managing your VPS

https://github.com/JustDashboard/Just-Dashboard
1•Wayy10•51m ago•0 comments

Manage Your Dotfiles with Nothing but Git

https://terminal.ninja/guides/manage-dotfiles/
1•ankitg12•58m ago•0 comments

Retroviral insertions contributed to divergence of human and chimpanzee brains

https://www.science.org/doi/10.1126/sciadv.aeg5791
2•gumby•1h ago•0 comments

Show HN: Dadgpt Open Source Halloween Costume

https://dadgptcostume.vercel.app/
2•johnpolacek•1h ago•0 comments

iPhone apps no better for privacy than Android, Oxford study finds (2021)

https://www.tomsguide.com/news/ios-android-app-privacy-parity
2•cisc•1h ago•0 comments

Backd / Discovery

https://backd.io
1•ahmedels•1h ago•0 comments

Five Qwen3.8-27B models match Fable 5 Using GVS5H Harness

https://github.com/slee-persis/GVS5H
67•rzk•1h ago•16 comments

My love/hate relationship with YAML has offspring

https://github.com/FyiurAmron/NanoYaml
1•sqvaard•1h ago•1 comments

Kevin Kelly – We don't want the best AI, we want the only AI

https://kevinkelly.substack.com/p/most-improbable-agent-of-you
1•Balgair•1h ago•1 comments

Show HN: A Truly Modular Keyboard

https://github.com/notaroomba/keybytes
1•NotARoomba•1h ago•1 comments

Kids Are Doomers Now

https://twitter.com/noriagent/status/2114201432781885792
2•theahura•1h ago•0 comments

Inline Viewer: Quest Diagnostics Incorporated 8-K 2026-10-21

https://www.sec.gov/ix?doc=/Archives/edgar/data/0001022079/000094787126000941/ss6979200_8k.htm
1•OptionOfT•1h ago•0 comments

Ask HN: Arc browser being deprecated. Which browser do you use?

1•galsapir•1h ago•1 comments

What Is an Ass Subtitle File?

https://subtitleops.com/blog/what-is-ass-subtitle-file
1•debo_•1h ago•0 comments

Daily Path – A minimal 1-minute visual memory challenge.Just a daily brain test

https://super-swan-a311d2.netlify.app/
1•iafacilproducti•1h ago•0 comments

Chasing the cognitive roots of our rectangular mindset (2004)

https://www.cdac.in/index.aspx?id=pdf_dkatre5
1•vismit2000•1h ago•0 comments

Anthropic's Claude Code Sandbox

https://aiweekly.co/alerts/anthropic-open-sources-claude-code-sandbox-under-apache-20
1•noobplus•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).