frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Ours.network – give your AI agents a direct line to each other

https://ours.network
1•shakhvit•1m ago•0 comments

The world’s first hands-free touchpad

https://www.augmental.tech/
1•dsr12•1m ago•0 comments

RFC 9457 Problem Details for HTTP APIs

https://httpstatuses.net/guides/rfc-9457-problem-details/
1•hboon•2m ago•0 comments

Show HN: Hanesu – An experimental workflow layer for AI coding agents

https://github.com/jezmn/hanesu
1•jezmn•3m ago•0 comments

Weight loss drugs 'linked to hair loss' – study

https://www.rte.ie/news/2026/0723/1584712-health-mounjaro-hair-loss/
1•austinallegro•6m ago•0 comments

I audited Stanford's CS336 and built an LLM from scratch for $353

https://andytimm.github.io/posts/cs336/cs336_review.html
1•kurinikku•7m ago•0 comments

Why Did Christopher Nolan's the Odyssey Divide the Internet?

https://medium.com/theentertainmentbreakdown/why-did-christopher-nolans-the-odyssey-divide-the-in...
1•raynchad•14m ago•0 comments

Wenfeng Liang: Four-Hour Investor Meeting Transcript

https://elsewhere.news/en/elsewhere/wenfeng-liangs-four-hour-investor-meeting-full-transcript
2•mefengl•16m ago•0 comments

Why copper still rules the motherboard trace

https://psyll.com/articles/technology/why-copper-still-rules-the-motherboard-trace
2•lucasfletcher•18m ago•1 comments

Show HN: Agentmux – iOS terminal and workspace built for CLI AI agents

https://agentmux.saxcave.cc/
1•saxlamen•20m ago•0 comments

The U.S. wants to contain China's AI. Silicon Valley keeps using it

https://restofworld.org/2026/china-siliconvalley-ai-moonshot-kimi/
4•devonnull•22m ago•0 comments

Show HN: DocBrain, turns merged PRs and Slack threads into documentation

https://github.com/docbrain-ai/docbrain
2•bhanuhai2•22m ago•0 comments

European Commission: 'Guidance to Google for AI Interoperability'

https://daringfireball.net/2026/07/ec_google_guidance_android_ai_and_search_sharing
1•rgovostes•25m ago•0 comments

Earth-Like LHS 1140B May Feature the First Atmosphere Found on Exoplanet

https://hackaday.com/2026/07/20/earth-like-lhs-1140b-may-feature-the-first-atmosphere-found-on-ex...
1•jamesblonde•31m ago•0 comments

MemoHood and MemoBase – local memory and knowledge base for AI agents

https://github.com/mxskorohood-cmd/memobase
1•maxskorohood•31m ago•0 comments

Four-hour fundraising meeting with DeepSeek founder Liang Wenfeng

https://old.reddit.com/r/DeepSeek/comments/1v41q73/fourhour_fundraising_meeting_with_deepseek/
1•chewz•33m ago•1 comments

Missing required arguments in shell scripts? Use the colon

https://refp.se/articles/your-shell-and-the-magic-colon
1•ingve•37m ago•0 comments

Extreme SIMD: Optimized Collision Detection in Titanfall (2018) [video]

https://www.youtube.com/watch?v=6BIfqfC1i7U
1•xeonmc•39m ago•0 comments

How macOS Summarize Works (Reverse-Engineered with Kimi K3)

https://github.com/fenxer/macos-summarize-internals
1•haxfenx•40m ago•0 comments

Show HN: AI agents that go from naming your startup to running its marketing

https://www.brandbrahma.com/
1•BrandB•41m ago•0 comments

Gerrymandle

https://gerrymandle.com/
1•enjoyyourlife•42m ago•0 comments

AI Is the Ultimate Leaky Abstraction

https://www.jonathanbeard.io/blog/2026/06/20/ai-the-ultimate-leaky-abstraction.html
2•nalinidash•44m ago•0 comments

Review of my Open AI build week feedback please

https://devpost.com/software/grantscout-app
1•OOvsuOO•49m ago•1 comments

I solved 6 open Erdős problems in 5 days, using OpenAI GPT-5.6 Sol

https://twitter.com/Qiaoqiao2001/status/2080003441821163958
4•akalin•52m ago•1 comments

Postgres in Rust: three dead ends before we passed 100% of the regression suite

https://malisper.me/postgres-in-rust-regression-suite/
2•michaelssilver•1h ago•0 comments

Show HN: Let Claude/ChatGPT deploy your sites

https://mcp.so/servers/nippy
1•Jamie452•1h ago•0 comments

I built an AI tool that turns a product URL into a video ad

1•Ugcad•1h ago•1 comments

The Art of PostgreSQL

https://theartofpostgresql.com/
1•ahamez•1h ago•1 comments

Git Koans

https://stevelosh.com/blog/2013/04/git-koans/
3•janalsncm•1h ago•1 comments

Show HN: NearBye – macOS locks itself when your iPhone leaves the room

https://nearbye.gege.mn/
1•sadespresso•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).