frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Sentinel Protocol – open-source AI firewall

1•Raviteja_•1m ago•0 comments

Show HN: SupaSidebar – I made Arc's sidebar universal for every browser

https://www.supasidebar.com
1•supasidebar•2m ago•0 comments

Thermal Imaging for Cardiorespiratory and Sudomotor Response Monitoring

https://arxiv.org/abs/2602.12361
1•PaulHoule•2m ago•0 comments

Git City

https://www.thegitcity.com/
1•mellosouls•2m ago•0 comments

Show HN: Termstage – Animated terminal SVGs from YAML, no screen recording

https://github.com/saikatkumardey/termstage
1•saikatkumardey•2m ago•0 comments

Show HN: Phone a Friend for Claude Code – GPT, Gemini, DeepSeek via MCP

1•spranab•2m ago•0 comments

phyz@home: distributed quantum gravity

https://home.phyz.dev
1•ecto•2m ago•0 comments

Show HN: The von Neumann era is over. Fabricating physical 3-phase AC ternary AI

1•tech_founder•3m ago•0 comments

Non-Consumer Hardware Represents ~15% of YC W26

https://www.extruct.ai/research/industrial-tech-thesis/
1•zkid18•3m ago•0 comments

Area Man Discovers Gravity

https://campedersen.com/phyz-at-home
1•ecto•3m ago•0 comments

Show HN: Leanvox Python SDK – Text-to-speech in 3 lines of code

https://github.com/voco-labs/leanvox-mono/tree/main/sdks/python
1•leanvox•3m ago•0 comments

Garden Horizons Codes

https://garden-horizons.com/
1•candseven•4m ago•0 comments

Seized Art, Eavesdropping at Detention Center as Kids Shared Their Stories

https://www.propublica.org/article/dilley-detention-center-kids-art-removal
1•hn_acker•4m ago•2 comments

Show HN: Ccperm – Audit Claude Code permissions across projects

https://github.com/letsur-dev/ccperm
1•dongekon•4m ago•0 comments

Lindsay Casale π² on X: "Never Apply to Another Job Again" / X

https://twitter.com/LindsayCasale/status/2026758489276821655
1•bilsbie•5m ago•0 comments

Show HN: StageWright – A performance-focused Playwright reporter with AI

https://stagewright.dev/
1•qagaryparker•6m ago•0 comments

Non-public document reveals science may not be prioritized on next Mars mission

https://arstechnica.com/space/2026/02/a-non-public-document-reveals-that-science-may-not-be-prior...
1•LorenDB•6m ago•0 comments

Trapped in MS Office

https://ia.net/topics/trapped-in-ms-office
1•Coral-Tiny•6m ago•0 comments

Show HN: WP-Hunter, WP recon and SAST tool (building Agentic AI pipeline)

https://github.com/xeloxa/WP-Hunter
1•xeloxa•6m ago•0 comments

Claude Code: The Revolution Nobody Noticed

https://dentro.de/ai/blog/2026/02/24/claude-code-the-revolution-nobody-noticed/
1•myk-e•7m ago•0 comments

Show HN: How AI Content Automation Is Reshaping SaaS Marketing in 2025

1•jackcofounder•8m ago•0 comments

New Hetzner prices: +30% starting on 1 April

https://p169.p3.n0.cdn.zight.com/items/geuGklEB/591bb9f6-ef96-41d8-9288-f14fa008570f.png
2•lovegrenoble•8m ago•1 comments

Google is serving straight-up malware as the top result for Claude Code

https://minimumviableposts.substack.com/p/google-is-serving-straight-up-malware
1•ageitgey•8m ago•0 comments

Ask HN: AI causing loss of sharing and the 2 lemon market standoff?

1•franktankbank•9m ago•0 comments

In 2025, Meta paid an effective federal tax rate of 3.5%

https://bsky.app/profile/rbreich.bsky.social/post/3mfptlfeucn2i
2•doener•9m ago•0 comments

Why Asian firms are not cheering Trump tariff ruling

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

Show HN: A closed source engine that stops hallucinations deterministically

https://github.com/007andahalf/Kairos-Sovereign-Engine
2•MattijsMoens•11m ago•1 comments

Show HN: I built a tutorial to help you learn Kuberenetes in most simplest way

https://kubernetes-made-simple.vercel.app/
3•mr_o47•11m ago•0 comments

Show HN:Covenant: Self hostable AI gateway with behavioral contracts

https://github.com/Vinesh2929/Covenant_API_Gateway
1•VineshNathan29•13m ago•1 comments

Model Collapse Ends AI Hype

https://www.youtube.com/watch?v=ShusuVq32hc
1•todsacerdoti•13m ago•0 comments
Open in hackernews

Ask HN: Help with doing statistics over machine code

2•phafu•9mo 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•9mo 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•9mo 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).