frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Physics Benchmarks Are Broken

https://arxiv.org/abs/2609.13009
1•qt31415926•1m ago•1 comments

Vortex: One Format for Any Shape

https://spiraldb.com/blog/vortex-one-format-for-any-shape
1•ConnorTsui20•1m ago•0 comments

Neurogrid Terminal Coding Agent

https://github.com/NeuroGrid-AI-exchange/neurogrid-tui
1•cheyodev•6m ago•0 comments

Show HN: Padwan-LLM, a lightweight LLM Python client

https://github.com/polarsen-io/padwan-llm
1•Orelus•7m ago•0 comments

Show HN: Trail, a New Logic Game

https://trail.franzai.com/
1•franze•8m ago•0 comments

Who Governs the Information State?

https://siliconprairies.substack.com/p/who-governs-the-information-state
1•JBruggeman•8m ago•0 comments

Memory in Grok Build

https://x.ai/news/grok-build-memory
1•vertigoruntime•8m ago•0 comments

Vector Search in open-source MySQL

https://villagesql.com/blog/vector-search-hnsw/
1•deesix•9m ago•1 comments

'We will rule in Canada': Letter from Bishnoi gang to police disclosed

https://www.cbc.ca/lite/story/9.7341131
2•colinprince•10m ago•0 comments

Fed Raises Rates for First Time in Three Years

https://www.wsj.com/economy/central-banking/fed-raises-rates-for-first-time-in-three-years-08539fbe
1•kaycebasques•10m ago•0 comments

Data Broker Radaris Loses Domains in Privacy Fight

https://krebsonsecurity.com/2026/09/data-broker-radaris-loses-domains-in-privacy-fight/
3•arnaudsm•11m ago•0 comments

Scientists Fuse Human Neurons into the Brains of Mice

https://www.nytimes.com/2026/09/16/science/human-mouse-brains-organoids.html
2•bookofjoe•11m ago•1 comments

Redact PDFs in the browser, with the file never leaving the device

https://hddn.app/
1•zilijonas•12m ago•0 comments

MillionGlucose: I built a Million Dollar Homepage for diabetes

https://millionglucose.com
1•bibinmohan•13m ago•1 comments

Forget the AI Apocalypse – The Real Threats Are Already Here

https://www.wsj.com/tech/ai/ai-apocalypse-dangers-already-here-f3cd57de
2•thm•13m ago•0 comments

Federal Reserve issues FOMC statement

https://www.federalreserve.gov/newsevents/pressreleases/monetary20260916a.htm
3•layer8•14m ago•1 comments

Webster's Revised Unabridged Dictionary of 1913

https://websters1913.timcieplowski.com/
1•gone35•14m ago•0 comments

Indian police to query Google over 500k fake Gmail IDs linked to bomb hoax

https://www.reuters.com/world/indian-police-query-google-over-500000-fake-gmail-ids-linked-bomb-h...
2•thisislife2•14m ago•0 comments

Show HN: In-Browser Sanskrit ASR Model

https://huggingface.co/gnumanth/sushrota-sanskrit-asr-onnx
1•init0•15m ago•0 comments

52 Factorial

https://czep.net/weblog/52cards.html
2•thunderbong•16m ago•0 comments

Barndoor acquires Diaphora, creators of open-source workflow runtime Frags

https://barndoor.ai/barndoor-acquires-diaphora/
1•mansilladev•17m ago•0 comments

Cyclomatic Complexity in C#

https://blog.ndepend.com/understanding-cyclomatic-complexity/
1•gone35•19m ago•0 comments

Children are taught distorted sounds of letters

2•LuqmanMichel•19m ago•1 comments

One Phone. One Computer

https://blog.oneberri.com/posts/one-phone-one-computer
1•frizlab•20m ago•1 comments

A coffee shop owner used AI to make a menu poster. Then came the angry DMs

https://www.businessinsider.com/coffee-shop-owner-ai-menu-backlash-2026-9
6•TMWNN•20m ago•0 comments

Empty rounds: our AI agents weren't unmotivated, they lacked a tool

https://github.com/MerariJafet/agora/releases/tag/v0.3.0
1•merari_acero•23m ago•0 comments

Turning a Yellow Spot into the Sun

https://newsletter.weskao.com/p/turning-a-yellow-spot-into-the-sun
2•AntonZ234•23m ago•0 comments

Accurate Models of AMD Matrix Cores

https://arxiv.org/abs/2609.14845
5•matt_d•24m ago•0 comments

Fed hikes rates as inflation worries push up bond yields

https://www.reuters.com/live/live-fed-rate-hike-expected-inflation-worries-push-up-bond-yields-20...
9•wslh•24m ago•1 comments

Show HN: Friday – Self-hosted persistent memory for AI coding agents (MCP)

https://github.com/itskie/friday
6•itskie•25m 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).