frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Poisoned WhatsApp API package steals messages and accounts

https://www.theregister.com/2025/12/22/whatsapp_npm_package_message_steal/
1•beardyw•1m ago•0 comments

Faceless (2007 Film)

https://en.wikipedia.org/wiki/Faceless_(2007_film)
1•GaryBluto•3m ago•0 comments

MiniMax M2.1

https://www.minimaxi.com/news/minimax-m21
2•scottyeager•4m ago•1 comments

Uber and Lyft rolling Baidu robotaxis into London next year

https://www.theregister.com/2025/12/23/london_robo_taxi_trials_2026/
1•GaryBluto•5m ago•0 comments

Farewell to the Stansted People Mover

https://www.londonreconnections.com/2025/farewell-to-the-stansted-people-mover/
2•zeristor•5m ago•0 comments

AndyMik90/Auto-Claude: Autonomous multi-session AI coding

https://github.com/AndyMik90/Auto-Claude
1•guytv•5m ago•0 comments

Chemical Hygiene

https://karpathy.bearblog.dev/chemical-hygiene/
1•rishikeshs•8m ago•0 comments

The Velvet Folio: Limited Edition Music and Art

https://www.thevelvetfolio.com
1•anthonydaly•10m ago•0 comments

National Portrait Gallery buys rare photographs of Ada Lovelace for the nation

https://www.ianvisits.co.uk/articles/national-portrait-gallery-saves-rare-photographs-of-ada-love...
1•zeristor•12m ago•1 comments

Cursor vs Warp: 3x Faster and 1/6th of the cost of Cursor

https://medium.com/realworld-ai-use-cases/cursor-vs-warp-review-warp-3x-faster-1-6th-of-the-cost-...
1•biscuit1v9•20m ago•0 comments

How I Learned to Stop Worrying and Love The Sort

https://arealsociety.substack.com/p/how-i-learned-to-stop-worrying-and-love-the-sort
1•NavinF•21m ago•0 comments

Layout-Aware Text Editing for Efficient Conversion of Academic PDFs to Markdown

https://arxiv.org/abs/2512.18115
1•50kIters•22m ago•0 comments

Nissan says customers exposed in Red Hat breach

https://www.bleepingcomputer.com/news/security/nissan-says-thousands-of-customers-exposed-in-red-...
1•thunderbong•25m ago•0 comments

Japan Set to Participate in EU R&D Framework, Boost Cooperation in Tech, Energy

https://japannews.yomiuri.co.jp/science-nature/science/20251220-299664/
3•saubeidl•26m ago•0 comments

Show HN: Gonc – Serverless P2P dual reverse proxy with NAT traversal

https://www.gonc.cc
2•gonc_cc•28m ago•0 comments

Z-Image-Turbo – Fast text-to-image with native CJK text rendering

https://zimageturbo.com
1•xbaicai•28m ago•1 comments

Trump Isn't Building a Ballroom

https://thedreydossier.substack.com/p/trump-isnt-building-a-ballroom
2•flockyflock•28m ago•0 comments

Reducing OpenTelemetry Bundle Size in Browser Front End

https://newsletter.signoz.io/p/reducing-opentelemetry-bundle-size
2•birdculture•31m ago•0 comments

Ori Umbrella

https://oriworld.co/
1•rossant•32m ago•0 comments

Hardening a VPS after IP exposure – Cloudflare and firewall sufficient?

1•omifarhan75•38m ago•0 comments

An uncomfortable but necessary discussion about the Debian bug tracker

https://nibblestew.blogspot.com/2025/12/an-uncomfortable-but-necessary.html
1•signa11•39m ago•0 comments

Agentic AI: Building Autonomous AI Systems That Plan and Act

https://substack.com/inbox/post/182398278
1•sonamMG•39m ago•0 comments

Show HN: VideoToScreenshots – Auto-extract sharp frames from videos

https://videotoscreenshots.com/
1•sooryagangaraj•46m ago•0 comments

Another Unified AI API

https://www.apipod.ai
1•cnych•47m ago•0 comments

Write code that you can understand when you get paged at 2am

https://www.pcloadletter.dev/blog/clever-code/
3•signa11•49m ago•0 comments

Nano Banana AI Image Editor Advanced Image Generation and Edit

https://nano-bananaai.org/
1•guowuzong•51m ago•0 comments

Instant database clones with PostgreSQL 18

https://boringsql.com/posts/instant-database-clones/
4•radimm•51m ago•0 comments

Horace Fletcher

https://en.wikipedia.org/wiki/Horace_Fletcher
1•Petiver•54m ago•0 comments

Self-Hosted GenesisDB: Deploy GenesisDB on your infrastructure at minimal cost

https://www.genesisdb.io/blog/posts/2025-12-23/self-hosted-genesisdb
4•patriceckhart•59m ago•0 comments

10 years bootstrapped: €6.5M revenue with a team of 13

https://www.datocms.com/blog/a-look-back-at-2025
4•steffoz•59m ago•0 comments
Open in hackernews

Ask HN: Help with doing statistics over machine code

2•phafu•7mo 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•7mo 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•7mo 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).