frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

I read all the Star Wars books, and now I understand the prequels [video]

https://www.youtube.com/watch?v=26_IsLOGYX8
1•1317•3m ago•0 comments

Show HN: Competitive Language Learning (E-Sport)

https://thelingo.xyz
2•arjavmehta•5m ago•0 comments

US gov sides with OpenAI on issue of training LLMs on copyrighted material

https://techcrunch.com/2026/09/02/u-s-government-sides-with-openai-on-issue-of-training-llms-on-c...
3•joshka•6m ago•1 comments

Why Google Bid $10M for a Failed Airline's Data

https://time.com/article/2026/08/25/google-spirit-airlines-ai-data-RL/
3•alphabetatango•7m ago•1 comments

GPS Glitched Across US by as Much as 33 Feet. Scientists Have Never Seen Before

https://www.sciencealert.com/gps-glitched-across-the-us-by-as-much-as-33-feet-scientists-have-nev...
2•thread_id•11m ago•0 comments

Mr CMO

https://github.com/Mrabbi3/MR-CMO
1•rabbim750•13m ago•0 comments

Hot reload vLLM and sglang configs

https://github.com/numinous-technology/trimtab
1•joshkolo•14m ago•0 comments

FrontierHarness Eval benchmark. Pi is on the Pareto

https://runta.com/blog/introducing-frontierharness-eval/
1•redman25•15m ago•0 comments

What Happened to Borland? [video]

https://www.youtube.com/watch?v=HwkoaPl31Dw
1•mysticmode•20m ago•0 comments

The Library of Scott Alexandria

https://www.lesswrong.com/posts/vwqLfDfsHmiavFAGP/the-library-of-scott-alexandria
1•benatkin•24m ago•0 comments

Blast Radius

https://blastradius.dpdns.org/
1•codebyaditya•25m ago•0 comments

NameThatUI – What Is This UI Element Called?

https://namethatui.com
2•twalichiewicz•25m ago•0 comments

Show HN: DeltaCode – Pure AST beat Qwen's zvec-grep on our test (92% vs 48%)

https://github.com/aitrailblazer/deltacode-engine
1•thstart•27m ago•0 comments

Are Central Banks Moving Out of Dollar Assets?

https://libertystreeteconomics.newyorkfed.org/2026/09/are-central-banks-moving-out-of-dollar-assets/
1•jnord•28m ago•0 comments

AIStore at Multi-Petabyte Scale: NVMe versus HDD

https://docs.nvidia.com/aistore/blog/vs-hdds
1•marc__1•29m ago•0 comments

Finnish Sauna in Washington DC

https://www.saunajungle.com/
1•hubears•38m ago•0 comments

The Circular Debt Crisis Nobody Sees Coming [video]

https://www.youtube.com/watch?v=0ll9rEtoRrs
3•toomuchtodo•40m ago•0 comments

EclipseWise – Predictions for Solar and Lunar Eclipses

https://eclipsewise.com/eclipse.html
1•Mr_Minderbinder•43m ago•0 comments

Prioritization Is a Lie

https://jatabag.com/essays/prioritization-is-a-lie/
2•solaire_oa•47m ago•0 comments

Show HN: Redactle LLM Leaderboard

https://redactle.net/llm-leaderboard
4•pampas•48m ago•1 comments

The Marketing Buzzwords That Developers Hate

https://redis.io/blog/the-marketing-buzzwords-that-developers-hate/
1•ohjeez•49m ago•0 comments

SF dishwasher job posting offers $50 an hour

https://www.sfgate.com/food/article/pho-nguyen-dishwasher-sf-22411841.php
3•goldfishgold•50m ago•2 comments

It's a Great Time to Be Rich in New York

https://www.nytimes.com/2026/09/02/nyregion/new-york-income-inequality.html
4•cwwc•52m ago•1 comments

LogSpecter – Schema-aware secret scanner for cloud logs

https://github.com/Jeffy123-zhu/logspecter
1•jeffy0418•54m ago•0 comments

We Used to Log Off

https://www.doc.cc/articles/we-used-to-log-off
3•LouisLazaris•54m ago•0 comments

Qwen3.8-Max-0902 takes second slot on Code Arena beating Claude Opus 5 max

https://arena.ai/leaderboard/code/webdev
3•yogthos•55m ago•0 comments

The Most Important Lesson

https://hackerfactor.com/blog/index.php?/archives/1103-The-Most-Important-Lesson.html
1•1317•57m ago•0 comments

Reflections on Americans' Net Worth

https://www.betonit.ai/p/reflections-on-americans-net-worth
25•cwwc•1h ago•16 comments

Aethel-World

https://github.com/espnrari-dev/aethel-swarm
1•royriace•1h ago•0 comments

Build your own self-hosted P2P search stack

https://github.com/nikitakarpei/my-yacy-node/tree/main/doc/build-your-own-search-stack
1•nikitakarpei•1h ago•1 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).