frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

CleanCloud v1.3.0 – 20 rules to find what's costing you money in AWS and Azure

1•sureshcsdp•40s ago•0 comments

Maybe America Needs Some New Cities

https://www.nytimes.com/2026/02/12/business/economy/america-new-cities-irvine.html
1•woldemariam•2m ago•0 comments

The Rev. Jesse Jackson, pioneering civil rights activist, dies at 84

https://www.cnn.com/2026/02/17/us/reverend-jesse-jackson-death
1•rmason•3m ago•0 comments

I attacked my own LangGraph agent system. All 6 attacks worked

1•mohith_km•3m ago•1 comments

OpenFactBook – The World Factbook

https://openfactbook.org/
1•bovermyer•4m ago•0 comments

Show HN: Free domain health monitoring tool

https://check-server.iqtechnology.io/
1•bodyast1010•5m ago•0 comments

'All records broken' as storm leaves swaths of France under water

https://www.france24.com/en/france/20260214-all-records-broken-storm-nils-leaves-swathes-southwes...
1•geox•5m ago•0 comments

A phone is stolen in London every seven to eight minutes

https://www.bbc.com/news/articles/cdx4762znr6o
1•woldemariam•8m ago•0 comments

Hunt Globally

https://arxiv.org/abs/2602.15019
1•salkahfi•8m ago•0 comments

Fast Sorting, Branchless by Design

https://00f.net/2026/02/17/sorting-without-leaking-secrets/
1•jedisct1•10m ago•0 comments

You Only Debug Once? Think Again

https://singularitynow.substack.com/p/you-only-debug-once-think-again
1•danduma•19m ago•1 comments

How Mitchell Hashimoto Builds Ghostty [video]

https://www.youtube.com/watch?v=ljoNEH39lyw
2•TheWiggles•23m ago•0 comments

OpenAI Tapped for Voice Control Tech in US Drone Swarm Challenge

https://www.bloomberg.com/news/articles/2026-02-13/openai-tapped-for-voice-control-tech-in-us-dro...
1•macleginn•24m ago•1 comments

Stop Using Lovable for Prototyping – Use Storybook and Claude Instead

https://atfzl.com/stop-using-lovable-for-prototyping-use-storybook-claude-instead/
1•atfzl•24m ago•0 comments

Smart-KNN: A production-focused, feature-weighted KNN optimized for CPU

https://github.com/thatipamula-jashwanth/smart-knn
1•Jashwanth01•25m ago•1 comments

Show HN: Inkog – Pre-flight check for AI agents (governance, loops, injection)

https://inkog.io
1•benban•26m ago•0 comments

UK gov want to use AI to prevent at-risk children from falling into crime

https://www.standard.co.uk/news/politics/artificial-intelligence-predict-criminals-future-governm...
1•giuliomagnifico•26m ago•1 comments

Is Show HN Dead? No, but It's Drowning

https://www.arthurcnops.blog/death-of-show-hn/
17•acnops•26m ago•7 comments

SpaceX to Compete in Pentagon Contest for Autonomous Drone Tech

https://www.bloomberg.com/news/articles/2026-02-16/spacex-to-compete-in-pentagon-contest-for-auto...
2•macleginn•26m ago•2 comments

Frontier Models Exhibit Sophisticated Reasoning in Simulated Nuclear Crises

https://arxiv.org/abs/2602.14740
1•salkahfi•29m ago•0 comments

Obituary for Jesse Jackson

https://www.theguardian.com/us-news/2026/feb/17/jesse-jackson-civil-rights-icon-dies
4•Archelaos•32m ago•0 comments

Uswds: The United States Web Design System – U.S. Web Design System (Uswds)

https://designsystem.digital.gov/
1•todd8•33m ago•0 comments

Show HN: Help Me Write AI – an assistant to help you write

https://chromewebstore.google.com/detail/help-me-write-ai/ghiabjooehfjphelpcfolmmeccplgejb
1•mda_damico•36m ago•0 comments

German Wikipedia bans AI generated text completely

https://de.wikipedia.org/wiki/Wikipedia:WikiProjekt_KI_und_Wikipedia/Wikiversum
2•doener•36m ago•0 comments

Show HN: LinkedRecords – Back End-as-a-Service with Auth and Real-Time

https://github.com/wolfoo2931/linkedrecords
1•WolfOliver•37m ago•0 comments

1984 Bhopal Disaster

https://vvesh.de/death/bhopal
2•pryncevv•40m ago•0 comments

Show HN: PgCortex – AI enrichment per Postgres row, zero transaction blocking

https://github.com/supreeth-ravi/pgcortex
1•supreeth_ravi•41m ago•0 comments

Two-thirds of Ukraine intelligence today comes from France

https://militarnyi.com/en/articles/france-s-space-intelligence-where-does-two-thirds-of-ukraine-s...
2•giuliomagnifico•43m ago•0 comments

I built a free alternative to Datadog Synthetic Monitoring using Playwright

2•rizqtek•44m ago•0 comments

Sony Considering Pushing Back PS6 to 2028 or 2029 Amid AI-Fueled Chip Crisis

https://www.ign.com/articles/sony-reportedly-considering-pushing-back-ps6-release-to-2028-or-even...
1•layer8•45m 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).