frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Spacydo: State machine example with own calldata for state transition rules

1•tracyspacy•22s ago•0 comments

Data vs. Hype: How Orgs Win with AI – The Pragmatic Summit [video]

https://www.youtube.com/watch?v=LOHgRw43fFk
1•cyndunlop•26s ago•0 comments

Implementing a Clear Room Z80 / ZX Spectrum Emulator with Claude Code

https://antirez.com/news/160
1•cyndunlop•1m ago•0 comments

Coding Agent, Good?

https://teetracker.medium.com/coding-agent-its-a-good-idea-1d34966c44ab
1•hasszhao•1m ago•1 comments

Steel Bank Common Lisp

https://www.sbcl.org/
1•tosh•1m ago•0 comments

Forests don't just store carbon. They keep people alive, scientists say

https://news.mongabay.com/2026/02/forests-dont-just-store-carbon-they-keep-people-alive-scientist...
1•PaulHoule•1m ago•0 comments

The Deceptively Simple Act of Writing to Disk

https://www.scylladb.com/2026/02/18/the-deceptively-simple-act-of-writing-to-disk/
1•cyndunlop•1m ago•0 comments

Inception Launches Mercury 2, the Fastest Reasoning LLM

https://www.businesswire.com/news/home/20260224034496/en/Inception-Launches-Mercury-2-the-Fastest...
1•tinco•2m ago•0 comments

OpenAI, the US government and Persona built an identity surveillance machine

https://vmfunc.re/blog/persona/
2•rzk•2m ago•0 comments

OpenAI resets spending expectations, from $1.4T to $600B

https://www.cnbc.com/2026/02/20/openai-resets-spend-expectations-targets-around-600-billion-by-20...
1•randycupertino•3m ago•0 comments

I think WebRTC is better than SSH-ing for connecting to Mac terminal from iPhone

https://macky.dev
1•Sayuj01•3m ago•1 comments

China May Grab a Lead in the Race for Military Fusion

https://www.wsj.com/opinion/china-may-grab-a-lead-in-the-race-for-military-fusion-c5ab6d2b
1•JumpCrisscross•3m ago•0 comments

An AI agent bought from our WooCommerce store. Here's what we learned

https://zologic.nl/the-next-evolution-of-conversion-why-your-store-needs-to-be-agent-ready/
1•Zologic•4m ago•1 comments

Ask HN: Share a random link from your bookmarks

1•TechSquidTV•4m ago•0 comments

Ask HN: Demand for a compliance-first deterministic context compiler?

1•PensaerWales•4m ago•1 comments

Ask HN: How to exhaustively search the scientific literature?

1•cossatot•6m ago•0 comments

Gas Town, OpenClaw and the rise of open source AI agents

https://www.axios.com/2026/02/24/agents-openclaw-moltbook-gastown
1•msolujic•6m ago•0 comments

Show HN: Sift – Score your feed locally with EmbeddingGemma

https://github.com/shreyaskarnik/Sift
1•shreyask•8m ago•0 comments

Show HN: SC Screen Recorder: a browser-based screen recorder with added layers

https://kaliedarik.github.io/sc-screen-recorder/
1•rikroots•8m ago•0 comments

Asteroids that didn't hit Earth

https://www.datawrapper.de/blog/asteroids-detection
1•speckx•9m ago•0 comments

Amazon Dominated by Top Sellers

https://trendslates.substack.com/p/amazons-extreme-concentration-ace
1•faderisimo•10m ago•1 comments

Show HN: Cadre – Agent framework for Claude Code with persistent memory

https://github.com/WeberG619/cadre-ai
1•WeberG619•11m ago•1 comments

Anthropic touts new AI tools weeks after legal plug-in spurred market rout

https://www.reuters.com/business/finance/anthropic-touts-new-ai-tools-weeks-after-legal-plug-in-s...
3•billybuckwheat•11m ago•0 comments

Getting Global Age Assurance Right: What We Got Wrong and What's Changing

https://discord.com/blog/getting-global-age-assurance-right-what-we-got-wrong-and-whats-changing
3•meetpateltech•12m ago•0 comments

Liquid Software: Why mid-sized companies should build, not buy

https://zeitraum.blog/en/post/019c8bc9-537a-759e-8559-fa3f9273020d
1•gurkenkoenig•12m ago•1 comments

What I've learned from shipping 25 mobile apps

https://newsletter.masilotti.com/p/what-ive-learned-from-shipping-25
1•joemasilotti•12m ago•0 comments

Private Credit Funds Face Pressure as Weinstein Flags Blue Owl Turmoil

https://www.bloomberg.com/news/articles/2026-02-24/boaz-weinstein-warns-wheels-coming-off-private...
1•petethomas•13m ago•0 comments

Scheduling in a Bare-Metal Web Server

https://thasso.xyz/scheduling.html
2•todsacerdoti•13m ago•1 comments

Show HN: Log Voyager 2.0 – Analyze 10GB+ log files in the browser

https://www.logvoyager.cc
1•murzynalbinos•14m ago•0 comments

Why it's hard to claw the enterprise

https://mercurialsolo.github.io/posts/request-for-agent-infra/
1•mercurialsolo•16m 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).