frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

GitHub: TypeScript compiler and JavaScript engine in Lean

https://github.com/jessealama/thales
1•fagnerbrack•5m ago•0 comments

Business Success: Luck, Not Merit

https://fagnerbrack.com/business-success-luck-not-merit-51deca80bfaf
1•fagnerbrack•5m ago•0 comments

Software Engineering Laws

https://newsletter.techworld-with-milan.com/p/the-20-software-engineering-laws
1•fagnerbrack•5m ago•0 comments

AG of Texas secured a settlement of bankruptcy claims against 23andMe

https://www.texasattorneygeneral.gov/news/releases/attorney-general-paxton-secures-150-million-se...
1•kythanh•8m ago•0 comments

The Htop for LLM Inference

https://github.com/helasaoudi/llm-inspector
1•helasaoudi•8m ago•0 comments

Continually aim just beyond your current range (2007)

https://terrytao.wordpress.com/career-advice/continually-aim-just-beyond-your-current-range/
1•dorjoy•10m ago•0 comments

Claude shows subtle biases to Anthropic across carefully controlled tests

https://twitter.com/owainevans_uk/status/2078149976807592112
1•nsagent•13m ago•0 comments

European Search Perspective

https://www.eu-searchperspective.com
1•Topfi•16m ago•0 comments

Neil Rimer thinks the AI money is coming back out

https://techcrunch.com/2026/07/17/neil-rimer-thinks-the-ai-money-is-coming-back-out/
1•adithyaharish•22m ago•0 comments

Ask HN: Having a child before career has taken off

2•lassearpe•23m ago•1 comments

Show HN: Forward-Only, Autograd-Free PINN with 0ns Zero-Copy Memory Interlock

https://github.com/PJHkorea/Forward_Only_Autograd_Free_PINN
1•PJHkorea•23m ago•1 comments

LG monitors silently install software through Windows Update without consent

https://videocardz.com/newz/lg-monitors-silently-install-software-through-windows-update-without-...
4•baranul•29m ago•0 comments

US lawmakers urge Trump administration to ban Chinese memory chips

https://www.ft.com/content/9e7cdf3c-2e52-492f-afeb-b63d86a53ce6
1•giuliomagnifico•30m ago•1 comments

IEA Warns World Has Just Weeks to Avoid Hormuz Economic Shock

https://oilprice.com/Latest-Energy-News/World-News/IEA-Warns-World-Has-Just-Weeks-to-Avoid-Hormuz...
2•baranul•36m ago•0 comments

Show HN: GPT-5.6 Sol vs. Claude Fable 5 in CNC Red Alert 2

https://system-2-arena.vercel.app/showcase/ra2?war=sol-vs-fable-lake
2•masterchef2209•37m ago•0 comments

Billion-dollar California salad company exploits undocumented migrants (2014)

https://www.theguardian.com/us-news/2014/nov/23/billion-dollar-california-salad-company-exploits-...
1•cramer4next•37m ago•0 comments

Show HN: Fable 5 vs Kimi K3 in CNC Red Alert 2

https://system-2-arena.vercel.app/showcase/ra2?war=fable-vs-kimi-1
1•masterchef2209•38m ago•0 comments

Detroit ranked as having the worst air quality in the world

https://www.clickondetroit.com/news/local/2026/07/16/detroit-ranked-as-having-the-worst-air-quali...
1•geox•39m ago•0 comments

India's largest nuclear power plant Kudankulam exposed in data breach

https://www.reuters.com/world/india/files-relating-indias-largest-nuclear-power-plant-kudankulam-...
2•thunderbong•42m ago•0 comments

The cost of forming an LLC in every US state (in 2026)

https://www.incorpassist.com/blog/us-states/real-cost-to-form-an-llc-by-state
1•incorpassist•43m ago•1 comments

Ask HN: Will Oracle's fall from grace be good for Open Source

1•lifeisstillgood•44m ago•1 comments

Math Corps 2026

https://alexkontorovich.wordpress.com/2026/07/18/math-corps-2026-visiting-day-directors-remarks/
1•mathgenius•48m ago•0 comments

Amnesty UK self-reports to watchdog after calling women's centre 'anti-rights'

https://www.theguardian.com/society/2026/jul/16/amnesty-uk-self-reports-to-watchdog-calling-women...
2•padda•48m ago•0 comments

GoodJsCode, a practical guide to writing cleaner JavaScript

https://github.com/pH-7/GoodJsCode
1•phenrys•49m ago•0 comments

'AI code is insane trash' – David Gerard [video]

https://www.youtube.com/watch?v=EwLW11Ucnps
1•baranul•50m ago•0 comments

Show HN: PrettyShot – A fast, local-first screenshot beautifier

https://www.prettyshot.site
1•prassamin•51m ago•0 comments

Conversation Steganography

https://github.com/nethical6/conversation-steganography
1•throwaway_19sz•53m ago•0 comments

We Built Our Knowledge Base

https://www.cerebras.ai/blog/how-we-built-our-knowledge-base
1•samuel246•1h ago•0 comments

Strip-Searched at the Serbian Border

https://psychotechnology.substack.com/p/strip-searched-at-the-serbian-border
2•eatitraw•1h ago•0 comments

Show HN: Go Micro – An agent harness and service framework in Go

https://github.com/micro/go-micro
1•asim•1h 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).