frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Crow Watch: A Hacker News Alternative

https://crow.watch
1•medv•1m ago•0 comments

Analysis of Ninth Circuit Allows TOS Amendment by Email–Ireland-Gordy vs. Tile

https://blog.ericgoldman.org/archives/2026/03/ninth-circuit-allows-tos-amendment-by-email-ireland...
1•hazzamanic•2m ago•0 comments

Terence Tao: Formalizing a proof in Lean using Claude Code [video]

https://www.youtube.com/watch?v=JHEO7cplfk8
1•helloplanets•3m ago•0 comments

Apple: The first 50 years, CBS Sunday Morning [video]

https://www.youtube.com/watch?v=7bA2w7uwUbs
1•oldnetguy•7m ago•0 comments

NSF National Deep Inference Fabric

https://ndif.us/
1•pramodbiligiri•9m ago•0 comments

CorridorKey – Perfect Green Screen Keys

https://github.com/nikopueringer/CorridorKey
1•h4kor•12m ago•0 comments

Shockwave Player Reimplemented in Rust and WASM

https://github.com/igorlira/dirplayer-rs
2•njaremko•14m ago•0 comments

How to win slots and influence people

https://www.bloomberg.com/features/2026-stake-drake-crypto-casino-adin-ross-gambling/
3•simonebrunozzi•17m ago•0 comments

Ask HN: Where do all the laid off devs hang out?

2•fud101•19m ago•0 comments

Set-OutlookSignatures v4.26.0 support for M365 sovereign clouds

https://set-outlooksignatures.com/
1•explicitcons•21m ago•1 comments

Show HN: TrustScan – Simplify privacy policies and audit GDPR compliance

https://trustscan.dev
1•hafizjavid•22m ago•1 comments

Every business will have AGI by 2027

https://nuggetz.ai/articles/every-business-will-have-agi-by-2027
4•ezisezisezis•25m ago•0 comments

Show HN: Marketing Content Generator AI-powered multi-channel content platform

https://devpost.com/software/marketing-content-generator-ch4p2q
3•gaborishka•25m ago•0 comments

Show HN: I built a mini PowerBI for tech comps with no dev experience with Codex

https://gotham-web.onrender.com/
1•muhneesh•28m ago•0 comments

Fontcrafter: Turn Your Handwriting into a Real Font

https://arcade.pirillo.com/fontcrafter.html
1•rendx•29m ago•0 comments

Show HN: cursor-tg – Run Cursor Cloud Agents from Telegram

https://github.com/tb5z035i/cursor-tg
1•tb5z035i•31m ago•0 comments

MoltBrowser MCP

https://github.com/Joakim-Sael/moltbrowser-mcp
2•geobotPY•32m ago•1 comments

Show HN: FretBench – I tested 14 LLMs on reading guitar tabs. Most failed

https://fretbench.tymo.ai/blog/i-asked-14-ai-models-to-read-guitar-tabs/
1•jmcapra•33m ago•0 comments

Show HN: NirvaCrop – Offline Python tool for batch video cropping

https://nirvasoft.gumroad.com/l/ffdoc
1•Ashwiniakash•33m ago•1 comments

A sneak preview behind an embedded software factory. I suspect "rad" is back

https://ghuntley.com/rad/
1•ghuntley•41m ago•0 comments

Sumi – Open-source voice-to-text with local AI polishing

2•alkd•41m ago•0 comments

Show HN: U-Claw – An Offline Installer USB for OpenClaw in China

https://www.u-claw.org/
1•17vibe•43m ago•0 comments

Replaced by a Goldfish

https://clawd.it/posts/10-replaced-by-a-goldfish/
4•patrikgro•46m ago•0 comments

Why AI Agents Need Email Guardrails

https://molted.email/blog/why-ai-agents-need-email-guardrails
2•spacesh1psoda•46m ago•0 comments

SQLite: Query Result Formatting in the CLI

https://www.sqlite.org/climode.html
1•thunderbong•48m ago•0 comments

Seedance2.0 and OmniVideo: AI video creation from text and images – experiences?

1•hongxiao•49m ago•0 comments

Kairos – real-time AI that cross-verifies news before answering (Python, 90KB)

1•joshuaveliyath•51m ago•0 comments

A short guide to email opening lines

https://www.economist.com/business/2026/03/05/a-short-guide-to-email-opening-lines
1•petethomas•54m ago•0 comments

MiniMax Music 2.5 – AI Music Generation Model for Fast Song Creation

https://www.minimax-music.com/minimax-music-2-5
2•cy20251210•54m ago•1 comments

Is Europe's AI Darling Mistral Becoming a Consultant?

https://www.bloomberg.com/news/newsletters/2026-03-03/europe-s-ai-darling-mistral-looks-more-like...
2•flawn•56m ago•1 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).