frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Tinbase – OSS Supabase-compatible back end in TypeScript

https://www.tinbase.dev/
1•sanketsahu•26s ago•0 comments

Who's suing AI, and who's signing

https://pressgazette.co.uk/platforms/news-publisher-ai-deals-lawsuits-openai-google/
1•thm•1m ago•0 comments

Email in the Tranco Top-1M: 10 years of DNS measurements

https://labs.ripe.net/author/artem-berezin/two-providers-a-stubborn-plateau-and-a-very-long-tail-...
1•ArtemBerzin•1m ago•0 comments

Meta's AI spending reduces quarterly free cash flow by 91%

https://www.reuters.com/business/retail-consumer/metas-ai-splurge-lays-bare-its-compute-conundrum...
1•johnbarron•1m ago•0 comments

I measured what SmartScreen costs an indie developer. It's about 4x

https://senticmoney.com/blog/smartscreen-cost-indie-developer
1•fdcampbell•2m ago•0 comments

AI coding agents should optimize for less owned code

https://www.openenergytransition.org/posts/ai-coding-agents-should-optimize-for-less-owned-code
1•lyoncy•2m ago•0 comments

Octane JavaScript

https://octanejs.dev
1•haburka•4m ago•0 comments

Mandelbrot-2: C++ visualizer with perturbation theory up to 1e-308

https://github.com/Divetoxx/Mandelbrot-2
1•Divetoxx•4m ago•0 comments

SpaceX Looks to Compete with the Carriers

https://www.semafor.com/article/07/29/2026/spacex-looks-to-compete-with-the-carriers
1•TMWNN•5m ago•0 comments

Openinterpreter: Terminal coding agent built for low-cost models

https://www.openinterpreter.com
1•nateb2022•5m ago•0 comments

I built a free deepfake detector that works directly from social media URLs

https://kweliai.com/
1•ProlificVA•6m ago•0 comments

Taking Extreme Measures to Avoid New Car Technology

https://www.wsj.com/lifestyle/cars/driver-assistance-technology-dashboard-ead96bd2
1•ike_usawa•6m ago•0 comments

Go LLM SDK for streaming, tool-calling AI backends (plus frontend React lib)

https://github.com/grafana/ai-sdk
4•matryer•6m ago•0 comments

Leadership Lessons from the Odyssey

https://danielmangum.com/posts/odyssey-leadership-lessons/
1•hasheddan•6m ago•0 comments

AI and the Enshittification Era W Cory Doctorow – Weekly Show with Jon Stewart [video]

https://www.youtube.com/watch?v=-dAIJRjb-Bw
1•nekusar•7m ago•0 comments

Æsh, Another Extensible SHell

http://aeshell.github.io/
1•ankitg12•8m ago•0 comments

HSIP – a self-hosted identity and audit trail for AI agents

https://github.com/rewired89/HSIP-1PHASE
1•Rewired89•9m ago•0 comments

Blankie – Ambient sounds for your flow state

https://blankie.rest/
1•ai2027•10m ago•0 comments

Copatch- The shared workspace for teams building with AI coding agents

https://copatch.ai/
1•malrokhayes•10m ago•0 comments

Radar – (Signal clone) Chats and sats in one place

https://radar.chat/
1•janandonly•12m ago•0 comments

Show HN: Get an email when your favorite actor/director releases something new

https://www.premierepal.com/
1•samteeeee•15m ago•0 comments

AgentTrace: A Structured Logging Framework for Agent System Observability

https://arxiv.org/abs/2602.10133
1•ankitg12•16m ago•0 comments

Malloy semantic modeling lang gets 'Credible' backing to build out AI context

https://venturebeat.com/data/57-of-enterprises-traced-a-wrong-ai-answer-to-missing-business-conte...
1•richij•16m ago•0 comments

GCC steering committee announces AI policy

https://lwn.net/Articles/1086041/
3•arto•16m ago•1 comments

Are We Stuck with Lean?

https://mathoverflow.net/questions/513742/are-we-stuck-with-lean
2•jjgreen•17m ago•0 comments

"Oopsies " FreeBSD Devs Say There's Still GPL in the Kernel

https://fossforce.com/2026/07/oopsies-freebsd-devs-say-theres-still-gpl-in-the-kernel/
2•richij•19m ago•1 comments

Pokémon Red and Blue Mod Turns the Game Boy Games into a Gorgeous 3D Diorama

https://kotaku.com/pokemon-red-blue-recompilation-project-voxel-3d-mod-2000720281
3•throwaway270925•21m ago•1 comments

Show HN: Invisible color – Daily logical puzzle

https://www.invisible-color.xyz/
1•wrongful1520•27m ago•0 comments

Amazon finds cases of AI causing runaway spending on tech projects

https://www.ft.com/content/77baac40-d803-4084-94f3-a133653072cf
3•adrianhon•28m ago•2 comments

Nscale to Buy Anyscale for $1.65B

https://www.bloomberg.com/news/articles/2026-07-30/nscale-to-buy-ai-software-startup-anyscale-for...
1•marc__1•28m 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).