frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

An open-source tool that makes eye-candy Instagram posts that doesn't use AI

https://www.useinstatools.com/
1•nicholasxdavis•11s ago•0 comments

Scaling Git at OpenAI

https://openai.com/index/scaling-git-at-openai/
2•makeramen•2m ago•0 comments

Show HN: HN Books – the books Hacker News keeps recommending

https://www.hacker-books.io/
1•pmoxim•4m ago•0 comments

Spairally 's safety circles are here

https://apps.apple.com/us/app/spairally/id6769132339
1•wfreza99•4m ago•0 comments

Show HN: Hacker News, à la Lobsters

https://git-aarvin.github.io/hackers/
1•hn-aarvin•5m ago•0 comments

I checked whether my laptop is wasting RAM

https://ansnadeem.com/2026/11/02/is-my-laptop-wasting-ram/
1•ansnadeem•11m ago•1 comments

DeepSeek also can easily read and write ML Weights

https://chat.deepseek.com/share/uysgv9yl2aj0tqs3on
1•ConteMascetti71•16m ago•0 comments

GUI64 – GUI for the Commodore 64 running on top of the built-in ROM

https://www.c64-wiki.com/wiki/GUI64
1•ethanpil•18m ago•0 comments

WorkOS reports security breach

4•werrett•19m ago•0 comments

Grok Bot Throttled After xAI Costs Outpaced Subscription Revenue

https://www.gadgetreview.com/grok-bot-throttled-after-xai-costs-outpaced-subscription-revenue
3•PicardManeuver•20m ago•2 comments

The U.S. Is Bullying Europe Like Never Before

https://www.theatlantic.com/ideas/2026/11/trump-europe-guilfoyle-afd-meddling/689226/
2•doener•23m ago•0 comments

Over 1k Danfoss StoreView fridge controllers still exposed online

https://censys.com/blog/european-refrigerator-controller-redux-a-new-wave-of-refrigeration-attacks/
1•acossta•24m ago•0 comments

Cringe Past of DIY Security

https://medium.com/@saitoken330/when-security-was-so-completely-beyond-my-comprehension-that-i-im...
1•7kago_yomi•28m ago•0 comments

Mac Apps on Cutefish Linux

https://cutefish.org/blog/mac-apps-first-milestone/
4•28304283409234•31m ago•0 comments

90% of my "human" visitors were bots

https://luna-park.app/blog/my-human-visitors-were-bots
3•Herobrine2084•33m ago•1 comments

Answering My Own Interview Question (Platform Engineer)

https://mishmesh.net/writing/answering-my-own-interview-question/
1•sudosteph•34m ago•0 comments

We added Hacker News Books/Videos search into our app

https://medium.com/@vektormemory/vektor-2-0-4-hacker-news-books-videos-added-node-js-sqlite-secur...
1•vektormemory•35m ago•0 comments

cvise: Super-parallel Python port of C-Reduce

https://github.com/marxin/cvise
2•gjvc•40m ago•0 comments

CloudOpsBench: AI benchmark shows FAI models struggling with cloud infra

https://cloudopsbench.ai
3•anmejia•45m ago•0 comments

Home – Collabora Online and Collabora Office

https://www.collaboraonline.com/
1•abdelhousni•45m ago•0 comments

Beating Tailscale with Userspace IPsec

https://ranet3.com/benchmarks/
1•StepBroBD•45m ago•1 comments

Nextcloud – open-source content collaboration platform

https://nextcloud.com/
1•abdelhousni•45m ago•0 comments

Ask HN: Who's hiring Google Sheets wizards in 2026?

1•kamphey•47m ago•1 comments

When Mathematics Looks Broken

https://www.joe-scott.com/blog/when-mathematics-looks-broken/
2•joseph_scott•48m ago•0 comments

Create your own Jev using embeddings

https://blog.voyageai.com/2026/10/27/how-to-create-your-own-jev-using-voyage-models/
2•fzliu•49m ago•0 comments

Silicon Valley Is Grappling with a Flood of Bugs Found by A.I.

https://www.nytimes.com/2026/10/28/technology/silicon-valley-bugs-ai.html
2•bookofjoe•50m ago•1 comments

Analysis of all verdicts for all judges on CA ballot

https://judgereport.org/
2•alando46•51m ago•2 comments

A Clock Made of Branches

https://fzakaria.com/2026/11/01/a-clock-made-of-branches
1•setheron•56m ago•0 comments

Psalm 7.0.0 [PHP static analysis tool by Vimeo]

https://github.com/vimeo/psalm/releases/tag/7.0.0
1•petecooper•58m ago•0 comments

Show HN: Synvora – a skincare app that tells you when a product is a bad match

https://apps.apple.com/ca/app/synvora-skin-ai-face-scan/id6795908716
1•bigdave_07•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).