frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

I built a tool to add Animated Captions for short-form video

https://animatecaptions.com
1•Z4cki•48s ago•0 comments

Big Tech's $2.7T AI bill comes due: Chart of the Day

https://finance.yahoo.com/markets/article/big-techs-27-trillion-ai-bill-comes-due-chart-of-the-da...
1•robin_reala•51s ago•0 comments

Show HN: A calculator for what an AI product keeps after costs

https://okaneland.com/study/keep/
1•ermantrout•1m ago•0 comments

Younger Adults May Be Aging Faster Than Previous Generations

https://www.sciencealert.com/younger-adults-may-be-aging-faster-than-previous-generations
1•amichail•1m ago•0 comments

Is it just me or does OpenAI keeps enabling memory in a clandestine way

1•sonink•1m ago•0 comments

Show HN: SentryGuard – detect Agentjacking prompt injection in Sentry events

https://github.com/can995835646-byte/SentryGuard
1•tangxia123•2m ago•0 comments

White House drastically shortens deadline for dropping quantum-vulnerable crypto

https://arstechnica.com/information-technology/2026/06/executive-order-bumps-up-deadline-to-move-...
1•Bender•3m ago•0 comments

Show HN: Moa – cross-model peer review for your local agent CLIs

https://github.com/pietz/moa-cli
1•pietz•4m ago•0 comments

Rockstar Games Announces Pre-Orders for Grand Theft Auto VI for $79.99

https://www.take2games.com/ir/news/rockstar-games-announces-pre-orders-grand-theft-auto-vi
3•HelloUsername•9m ago•0 comments

Google's online dominance is showing signs of cracking in AI era

https://www.cnbc.com/2026/06/23/googles-online-dominance-is-showing-signs-of-cracking-in-ai-era.html
1•1vuio0pswjnm7•10m ago•0 comments

Modelplane

https://modelplane.ai
1•hasheddan•10m ago•0 comments

Meta announces smart glasses starting at $299 Zuckerberg keeps pushing wearables

https://www.cnbc.com/2026/06/23/meta-glasses-are-new-smart-glasses-starting-at-299.html
1•1vuio0pswjnm7•11m ago•1 comments

Founding a company in Germany: €9600, 152 days and I still can't send an invoice

https://paolino.me/founding-a-company-in-germany/
2•earcar•11m ago•0 comments

Zen of AI Coding

https://nonstructured.com/zen-of-ai-coding/
1•pramodbiligiri•11m ago•0 comments

Vibecoding is becoming a deal-breaker test for software acquisitions

https://the-decoder.com/vibecoding-is-becoming-a-deal-breaker-test-for-software-acquisitions/
2•wglb•12m ago•0 comments

The Seeds of Our Housing Crisis Were Planted in the Reagan Era

https://commonedge.org/the-seeds-of-our-housing-crisis-were-planted-in-the-reagan-era/
1•surprisetalk•12m ago•0 comments

When Does Data Help Automated Context Engineering?

http://www.andrewjesson.com/blog/when-does-data-help-automated-agent-engineering/
1•anndvision•13m ago•0 comments

Show HN: A Viral Social Video Generator for iOS Apps

https://getsocialclaw.com/viral-video-generator
1•nardib•14m ago•0 comments

Command and Conquer (1995) on an Atari ST

https://indyjo.itch.io/commandconquer
1•indyjo•15m ago•0 comments

Watchdog to Congress: Don't Be Fooled by the Kids Act

https://www.protectingtaxpayers.org/press/watchdog-to-congress-dont-be-fooled-by-the-kids-act/
1•bilsbie•15m ago•0 comments

Reid Hoffman says SpaceX 'not an AI company', xAI 'complete train wreck'

https://fortune.com/2026/06/24/reid-hoffman-spacex-musk-openai-anthropic-gen-z-mistake/
4•1vuio0pswjnm7•19m ago•1 comments

I built a flat-rate DeepSeek API for Claude Code (with vision support)

https://cloudcode.one/
2•tatuhelander•20m ago•0 comments

Adopting AV1 for Real-Time Communication (RTC) at Scale

https://engineering.fb.com/2026/06/22/video-engineering/adopting-av1-for-real-time-communication-...
1•ledoge•21m ago•0 comments

Kebab Benchmark for LLMs

https://twitter.com/victormustar/status/2069688722409312332
1•jonbraun•22m ago•0 comments

Ask HN: DIstribution Problem and Solutions

1•Neobecomer•22m ago•0 comments

Show HN: Stupify – anti-slop code review for AI agents

https://github.com/Octember/stupify
2•octember•22m ago•1 comments

What's the worst thing your AI agent did in production without asking first?

1•rockingraj•23m ago•0 comments

What's the worst thing your AI agent did in production without asking first?

1•rockingraj•23m ago•0 comments

Covid vaccines cut risk of hospital care, heart complications, new data reveal

https://www.cidrap.umn.edu/covid-19/updated-covid-vaccines-cut-risk-hospital-care-heart-complicat...
3•throw0101d•24m ago•0 comments

Robert Heinlein and Arthur C. Clarke interview with Walter Cronkite – Apollo 11 [video]

https://www.youtube.com/watch?v=4PLTkYJ7C40
1•simonebrunozzi•26m 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).