frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Ask HN: Supplemental Consulting Work Advice

1•graerg•46s ago•0 comments

Bitcall.io

https://bitcall.io
1•erammm•1m ago•0 comments

Mach 1.5 tests reveal noise feedback loops from supersonic jets

https://techxplore.com/news/2026-03-mach-reveal-noise-feedback-loops.html
1•layer8•1m ago•0 comments

Louisiana's Barksdale Air Force Base was targeted by 'multiple waves' of drones

https://www.nationalreview.com/2026/03/how-vulnerable-is-america-to-an-operation-spiderweb-at-hom...
1•fortran77•6m ago•0 comments

Trump Said Congestion Pricing Would Make Manhattan a 'Ghost Town.' He Was Wrong

https://www.nytimes.com/2026/03/27/opinion/congestion-pricing-traffic-new-york.html
1•Vinnl•7m ago•0 comments

Anthropic Economic Index Learning Curves

https://www.anthropic.com/research/economic-index-march-2026-report
1•gmays•7m ago•0 comments

Sweden's Digital ID System Hacked, Public's Data Sold on Dark Web

https://www.voicemedia.global/article/sweden-s-digital-id-system-hacked-public-s-data-sold-on-dar...
1•cdrnsf•7m ago•1 comments

Meta's Ray-Ban Display Glasses Faces Hold Up in Europe over Removeable Battery

https://petapixel.com/2026/03/27/metas-ray-ban-display-glasses-faces-hold-up-in-europe-over-remov...
1•giuliomagnifico•10m ago•0 comments

Sentiment Destruction, Not Demand Destruction

https://www.apolloacademy.com/sentiment-destruction-not-demand-destruction/
1•akyuu•10m ago•0 comments

Inverted Pendulum Logo

http://closedbridge.com
2•pseudosudoer•12m ago•0 comments

WordSnap – Real-time word battles. One letter. Two players. No mercy

https://wordsnap.up.railway.app/
1•oyahud•12m ago•0 comments

Teaching Robots to Fly Like Birds

https://www.rutgers.edu/news/teaching-robots-fly-birds
1•JeanKage•13m ago•0 comments

AI is the final frontier of late-stage capitalism

https://reedandpickup.com/2026/03/27/ai-is-the-final-frontier.html
2•el3ctron•14m ago•0 comments

Microsoft Set for Worst Quarter Since 2008 as AI Takes Two Bites

https://www.bloomberg.com/news/articles/2026-03-27/microsoft-set-for-worst-quarter-since-2008-as-...
1•Brajeshwar•14m ago•0 comments

An Olympics Photographer Proves the Authenticity of His Photos

https://petapixel.com/2026/02/21/a-look-at-an-image-verification-process-for-olympics-photos/
3•PaulHoule•20m ago•0 comments

Show HN: Deep Hollow – A survival game where your AI runs your fortress 24/7

https://www.mrphilgames.com/blog/building-an-ai-that-runs-your-game-while-you-sleep
4•MrPhilGames•22m ago•0 comments

Nine observations from carbon dioxide monitoring

https://grieve-smith.com/ftn/2026/03/nine-observations-from-carbon-dioxide-monitoring/
5•coloneltcb•22m ago•0 comments

Google Just Patented the End of Your Website

https://www.forbes.com/sites/joetoscano1/2026/03/06/google-just-patented-the-end-of-your-website/
3•bookofjoe•22m ago•0 comments

The 'That's a Lie' Program

https://keyholejourney.wordpress.com/2016/07/21/the-thats-a-lie-program/
2•beeburrt•22m ago•0 comments

Show HN: Open-source API for IACS vessel classification data

https://tsolman.github.io/vessel-class-finder/
2•tsolman•23m ago•0 comments

New Price Changes for PS5, PS5 Pro, and PlayStation Portal Remote Player

https://blog.playstation.com/2026/03/27/new-price-changes-for-ps5-ps5-pro-and-playstation-portal-...
3•Risse•23m ago•0 comments

Show HN: DuoRAG – A dual stack RAG that self-evolves

https://github.com/cagriy/duo-rag
2•cagz•23m ago•0 comments

Show HN: Porting old C++ Battle for Wesnoth to the web with amnesiac agents

https://lab.rosebud.ai/engineering/porting-wesnoth-with-amnesiac-agents
2•vladgl94•24m ago•1 comments

Show HN: AgentVerse – Open social network for AI agents (Mar 2026)

https://nickakre.github.io/agentverse-social/
2•nickakre•25m ago•0 comments

Observable You

https://thebigtech.substack.com/p/observable-you
3•anupamchugh•26m ago•0 comments

Aperture, by Tailscale

https://tailscale.com/docs/aperture
3•jbegley•26m ago•1 comments

Show HN: Mythos – Build a 24/7 AI agent with Markdown, not code

https://github.com/IronsideXXVI/Mythos
2•IronsideXXVI•28m ago•0 comments

The Joy of Distraction-Free Writing on a Micro Journal Rev.2 (With Neovim)

https://www.ssp.sh/brain/my-distraction-free-typewriter-micro-journal/
3•articsputnik•28m ago•0 comments

Made an "Influencer Pricing Analyzer" for myself. Should I launch this? [video]

https://www.youtube.com/shorts/4kZb6dHLpV0
1•bozkan•29m ago•1 comments

Is the universe swarming with tiny black holes?

https://www.scientificamerican.com/article/is-the-universe-swarming-with-tiny-black-holes/
1•Brajeshwar•30m 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).