frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The Silent Consensus

https://www.hyperdimensional.co/p/the-silent-consensus
1•jger15•1m ago•0 comments

The MisAnthropic Statement

https://misanthropicstatement.com/
2•anon373839•1m ago•0 comments

Show HN: iOS 27 on the Web

https://liquid.shelia.me/
1•nshelia•3m ago•0 comments

Best Productivity Newsletters

https://github.com/dariubs/awesome-productivity-newsletters
1•dariushabbasi•4m ago•0 comments

Nvidia approaches Arm boss Rene Haas in search for new CEO

https://www.theguardian.com/technology/2026/nov/19/nvidia-new-ceo-search-jensen-huang-arm-rene-haas
1•fork-bomber•5m ago•0 comments

Today's Anthropic IPO compared with the dot-com IPOs

https://www.kadoa.com/companies/insights/tech-ipo-revenue-multiples
2•hubraumhugo•8m ago•0 comments

Single technology is killing oil demand

https://climatemoney.substack.com/p/this-single-technology-is-killing
3•gniv•8m ago•0 comments

Introducing: Double Jump

https://www.quarter--mile.com/Double-Jump
1•surprisetalk•10m ago•0 comments

Did Polymarket's most skilled traders call the 2026 midterms?

https://predictpnl.com/articles/midterms-2026-did-top-traders-get-it-right
1•lorande•13m ago•0 comments

Before she created CBT Marsha Linehan spent 2 years in a psychiatric ward

https://indianexpress.com/article/books-and-literature/marsha-linehan-dies-dbt-memoir-building-a-...
1•PaulHoule•13m ago•0 comments

Unit-testing in the Ü programming language

https://panzerschrek.github.io/U-00DC-Sprache-site/2026/11/18/unit-testing.html
1•Panzerschrek•15m ago•0 comments

Slop and Verification Debt

https://diatone.net/verification
3•diatone•17m ago•0 comments

RN1 Doesn't Need to Know Who Wins

https://blockjuice.asof.sh/articles/rn1-strategy-teardown/
1•iankguimaraes•19m ago•0 comments

The SDLC Is Out of Balance: Beyond the AI Code Review Bottleneck

https://vitaliioborskyi.ai/articles/the-sdlc-is-out-of-balance.html
1•oddish-tv•21m ago•0 comments

Autonomous AI Security Auditing of Webmin: 507 Newly Discovered Vulnerabilities

https://supuk.ch/papers/webmin-ai-security-audit-507-vulnerabilities
1•bordercontrol•22m ago•1 comments

Anthropic Is the Reluctant Winner of the AI Race

https://www.theatlantic.com/technology/2026/11/anthropic-winner-ai-race/689479/
2•FinnLobsien•25m ago•0 comments

The cultural evolution of female body representations in European portraiture

https://royalsocietypublishing.org/rspb/article/293/2083/20262007/484209/The-cultural-evolution-o...
2•rbanffy•25m ago•0 comments

Unblockable communication with gravity – Science Advances

https://www.science.org/doi/10.1126/sciadv.aee0802
5•rbanffy•28m ago•0 comments

Show HN: VPNDetection, a VPN and proxy detection API with no key

https://vpndetection.io
2•mslm•29m ago•0 comments

Draft Emoji List for 2027/2028 Unveiled

https://blog.emojipedia.org/draft-emoji-list-for-2027-2028-unveiled/
1•surprisetalk•30m ago•0 comments

Powered by Netlify badge on new Free plan projects

https://docs.netlify.com/manage/projects/powered-by-netlify-badge/
1•ivanjermakov•33m ago•0 comments

The AI Superintelligence Debate Has Serious Flaws

https://spectrum.ieee.org/ai-superintelligence-debate
14•rbanffy•33m ago•2 comments

Worlds largest beaver dam in Northern Alberta

https://substack.com/@canadianreturnee/note/c-319574497
1•bookofjoe•35m ago•0 comments

An Outer Sandbox for Coding Agents

https://mo.town/blog/posts/lilbox.html
2•zeroxfe•36m ago•0 comments

The AI tipping point happened

https://research.kumpf.cc/2026-AITippingPoint/
2•adamkumpf•40m ago•0 comments

South Korea Offers $75,000 Bounties to Catch AI Exam Cheats

https://www.bloomberg.com/news/articles/2026-11-18/south-korea-proposes-75-000-bounties-to-catch-...
2•helsinkiandrew•41m ago•2 comments

A Megakernel per Model

https://dangxingyu.github.io/megakernel/
1•nnx•42m ago•0 comments

Ask HN: Have you tested dots from OpenAI yet?

1•nvmdbljstm•42m ago•2 comments

TermCove Mac SSH client that lets Claude Code use your servers without your keys

https://termcove.com/
1•hamzehtabbaa•45m ago•0 comments

GTA 6 Cheats, Mods and Companion Tool

https://grandtheftautocheats.com/
2•gtaguy•45m 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).