frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Agent Vault: The Open Source Credential Proxy and Vault for Agents

https://infisical.com/blog/agent-vault-the-open-source-credential-proxy-and-vault-for-agents
1•vmatsiiako•1m ago•0 comments

Startups Can Beat Big AI Labs

https://modular.cloud/blog/how-startups-can-beat-big-ai-labs
1•liamcardenas•2m ago•0 comments

Anker made its own chip to bring AI to all its products

https://www.theverge.com/tech/916463/anker-thus-chip-announcement
1•Brajeshwar•2m ago•0 comments

Sauce Co Prego Sparks Privacy Concerns After Device Launch to Record Mealtimes

https://www.inkl.com/news/prego-sparks-privacy-concerns-after-launching-a-device-designed-to-reco...
1•randycupertino•5m ago•0 comments

Mathematically Correct Breakfast

https://www.georgehart.com/bagel/bagel.html
1•_Microft•5m ago•0 comments

Count Your Blessings, but Count Carefully

https://www.raptitude.com/2026/04/count-your-blessings-but-count-carefully/
1•crescit_eundo•6m ago•0 comments

The Download: Introducing the Things That Matter in AI

https://www.technologyreview.com/2026/04/22/1136310/the-download-10-things-that-matter-in-ai-righ...
1•joozio•6m ago•0 comments

AI agent skills pass every scanner. 87% still degrade agent safety

https://faberlens.ai/blog/skill-safety-problem
1•shadab_nazar•6m ago•0 comments

AI Agent Has Amnesia

https://www.coderabbit.ai/blog/your-ai-agent-has-amnesia
2•todsacerdoti•7m ago•0 comments

Court Enjoins Another Arkansas Segregate-and-Suppress Law–NetChoice v. Griffin

https://blog.ericgoldman.org/archives/2026/04/court-enjoins-another-arkansas-segregate-and-suppre...
1•hn_acker•7m ago•0 comments

MythosWatch: Tracking who has access to Anthropic's Mythos AI

https://www.mythoswatch.org/
3•clauderx•7m ago•0 comments

Google Cloud customer wakes up to $18,000 bill despite $7 budget

https://www.tomshardware.com/tech-industry/artificial-intelligence/google-cloud-customer-wakes-up...
3•speckx•7m ago•0 comments

What if Hyperliquid and TradingView made a baby?

https://www.aulico.com
1•kiosktryer•8m ago•0 comments

For its launch, Awiser will promote early projects

1•awiser•9m ago•0 comments

I Am Building a Cloud

https://crawshaw.io/blog/building-a-cloud
1•hasheddan•9m ago•0 comments

GPU Compass: Navigate the GPU Frontier Across 20 Clouds and 2K+ Offerings

https://gpus.skypilot.co/
6•hopechong•11m ago•1 comments

OpenMythos: an open-source, theoretical implementation of Claude Mythos

https://github.com/kyegomez/OpenMythos
1•wslh•13m ago•0 comments

Show HN: Netlify for Agents

https://netlify.ai
2•bobfunk•15m ago•0 comments

PCR Is a (Surprisingly) Near-Optimal Technology

https://nikomc.com/2026/04/22/pcr/
1•mailyk•15m ago•0 comments

I built a TLS grader that gives exact config fixes, not just a grade

https://mysslpro.com/tools/tls-grader.php
1•AndreiSSL•15m ago•1 comments

Random Machines: Why the Optimizer Is the Least Important Part of Deep Learning

https://sotaverified.org/blog/built-on-randomness-optimizer-least-important
1•uberdavid•15m ago•0 comments

Stop Begging Big Tech to Fix Your Social Media Experience. Do It Yourself

https://www.techdirt.com/2026/04/22/stop-begging-big-tech-to-fix-your-social-media-experience-you...
4•speckx•15m ago•0 comments

UC Berkeley economist explains California’s 'mystery gas surcharge' (2022)

https://abc7news.com/post/california-gas-prices-mystery-surcharge-oil-companies-why-is-so-expensi...
2•escot•16m ago•0 comments

It's not a crime if we do it (to nurses) with an app

https://pluralistic.net/2026/04/22/uber-for-nurses/
3•hn_acker•17m ago•1 comments

The Nancy Grace Roman Space Telescope: NASA's next great observatory completed

https://www.space.com/space-exploration/the-nancy-grace-roman-space-telescope-nasas-next-great-ob...
2•gmays•17m ago•0 comments

Command Finder – natural language to shell commands in your terminal

https://github.com/stvkoch/Command-Finder
1•stvkoch•19m ago•0 comments

Homegrown – An interactive map of every 2025 FBS college football player

https://torch.football/homegrown
1•brockbedard•20m ago•1 comments

Copyright and DMCA Best Practices for Fediverse Operators

https://www.eff.org/deeplinks/2026/04/copyright-and-dmca-best-practices-fediverse-operators
4•Brajeshwar•21m ago•0 comments

The Joy of Folding Bikes

https://blog.korny.info/2026/04/19/the-joy-of-folding-bikes
2•pavel_lishin•22m ago•0 comments

EFF Sues DHS and ICE for Records on Subpoenas Seeking to Unmask Online Critics

https://www.eff.org/press/releases/eff-sues-dhs-and-ice-records-subpoenas-seeking-unmask-online-c...
3•hn_acker•22m ago•0 comments
Open in hackernews

Ask HN: Help with doing statistics over machine code

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