frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Why I'm Suing Grammerly

https://www.nytimes.com/2026/03/13/opinion/ai-doppelganger-deepfake-grammarly.html
2•staplung•7m ago•0 comments

Show HN: Kube-pilot – AI engineer that lives in your Kubernetes cluster

https://github.com/fbongiovanni29/kube-pilot
2•noobernetes•7m ago•0 comments

NAND's New Power Dynamic: Enterprise SSD Demand Reshapes Supply

https://news.ycombinator.com/submitted?id=redohmy
1•jamesbsr•9m ago•0 comments

Can LLMs Do Matching Decompilation? I Tested 60 Functions to Find Out

https://gambiconf.substack.com/p/can-llms-really-do-matching-decompilation
1•msephton•9m ago•0 comments

Z-Order: The Clustered Index of the Data Lake

https://www.arnaudp.dev/how-z-order-cut-my-databricks-etl-time-in-half/
1•gentle_bubble•13m ago•0 comments

Demystifying and Improving Lazy Promotion in Cache Eviction [pdf]

https://www.vldb.org/pvldb/vol19/p549-yang.pdf
1•matt_d•24m ago•0 comments

TikTok Investors Set to Pay $10B Fee to Trump Administration

https://www.nytimes.com/2026/03/13/business/tiktok-investors-set-to-pay-10-billion-fee-to-trump-a...
3•defrost•25m ago•0 comments

Optimizing Content for Agents

https://cra.mr/optimizing-content-for-agents/
2•vinhnx•30m ago•0 comments

Lunar Lander ported to the PDP-1

https://hackaday.io/project/204632-lunar-lander-for-the-pdp-1
2•ozymandiax•30m ago•1 comments

How to Build a Successful OpenClaw Startup Without Building Anything

https://twitter.com/SiliconSnark/status/2032641536031121710
2•SaaSasaurus•31m ago•0 comments

Snail Mail Sign-Ups

https://btxx.org/posts/snail-mail-signups/
1•bradley_taunt•38m ago•0 comments

After building agents for 2 years, I stopped using function calling

https://old.reddit.com/r/LocalLLaMA/comments/1rrisqn/i_was_backend_lead_at_manus_after_building_a...
2•gmays•45m ago•0 comments

Skill Issue: Harness Engineering for Coding Agents

https://www.humanlayer.dev/blog/skill-issue-harness-engineering-for-coding-agents
1•vinhnx•47m ago•0 comments

Professor predicts US goes to war with Iran and loses (9 months ago) [video]

https://www.youtube.com/watch?v=7y_hbz6loEo
1•0xbadcafebee•50m ago•0 comments

Rotating home owners boast of 360-degree views and energy benefits

https://www.abc.net.au/news/2026-03-14/rotating-home-owners-boast-of-360-degree-views/106348854
2•defrost•51m ago•1 comments

Show HN: DAAO – Deploy AI agents to your servers via Zero-Trust tunnels

https://github.com/daao-platform/daao
1•dan3093•1h ago•0 comments

The Dirty, Dystopian World of AI Data Centers

https://www.theatlantic.com/magazine/2026/04/ai-data-centers-energy-demands/686064/
1•chrisaycock•1h ago•0 comments

Federal Judge Quashes Justice Department Subpoenas of Fed Chair Jerome Powell

https://www.cnn.com/2026/03/13/politics/fed-chair-jerome-powell-subpoena
4•rickcarlino•1h ago•0 comments

Charles B. McVay III

https://en.wikipedia.org/wiki/Charles_B._McVay_III
2•thunderbong•1h ago•0 comments

Silicon Valley is buzzing about this new idea: AI compute as compensation

https://www.businessinsider.com/ai-compute-compensation-software-engineers-greg-brockman-2026-3
1•pabs3•1h ago•0 comments

Arno's Engram Keyboard Layouts

https://github.com/binarybottle/engram
1•so-cal-schemer•1h ago•1 comments

Rust Shined over Python for My CLI Tool

https://smiling.dev/blog/rust-shined-over-python-for-my-cli-tool/
1•vinhnx•1h ago•0 comments

Companies That Should Exist

https://anastasiagamick.substack.com/p/companies-that-should-exist
1•paulpauper•1h ago•0 comments

How Does AI Distribute the Pie? Large Language Models and the Ultimatum Game

https://www.nber.org/papers/w34919
1•paulpauper•1h ago•0 comments

Buying Back Our Slack

https://www.seeingthesystem.com/p/buying-back-our-slack
1•paulpauper•1h ago•0 comments

Agentic AI: Workflows vs. Agents

https://www.youtube.com/watch?v=Qd6anWv0mv0
1•Brysonbw•1h ago•0 comments

MacBook Neo Teardown [video]

https://www.youtube.com/watch?v=PbPCGqoBB4Y
1•Lwrless•1h ago•0 comments

Trump now Selling National Security Briefing Membership

https://www.cnn.com/2026/03/13/politics/trump-fundraise-email-soldier
14•mandeepj•1h ago•2 comments

Big tech engineers need big egos

https://www.seangoedecke.com/big-tech-needs-big-egos/
1•jnord•1h ago•0 comments

Void – Ship Vite apps at warp speed

https://void.cloud
1•todotask2•1h ago•0 comments
Open in hackernews

Ask HN: Help with doing statistics over machine code

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