frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Anthropic raises $81B in record IPO

https://www.ft.com/content/62c0510b-ca65-441e-9baf-675b93903b9e
1•ptsd_dalmatian•3m ago•0 comments

GTA 6 Doesn't Let Players Pick Up Prostitutes

https://www.shacknews.com/article/151386/prostitutes-gta6
1•HelloUsername•13m ago•0 comments

GTA-6,Crime,Jewel Heists,Prison,Corrupt Cops,Mafia,Miami,Money – Lex Fridman [video]

https://www.youtube.com/watch?v=v1X9Fqs5a14
1•vismit2000•13m ago•0 comments

LinuxMint Is Down

http://linuxmint.com
4•somethinsfishy•14m ago•0 comments

All the business school curricula need to be rewritten for the 21st century

https://twitter.com/balajis/status/2123002639168491711
1•MrBuddyCasino•17m ago•0 comments

Waymo pulls driverless taxis from freeways across the US after California ban

https://www.theguardian.com/technology/2026/nov/18/waymo-pulls-driverless-taxis-us-freeways
1•throwaway2037•18m ago•1 comments

A Linux time travel system

https://github.com/jlruedab/clifr
1•jlrueda•19m ago•0 comments

Show HN: Hybld – Package for selective and incremental static build

https://github.com/hyscaler/hybld
1•motahir_alam•21m ago•1 comments

On the Origins of Riemann's Hypothesis – David E Rowe (Oxford Mathematics) [video]

https://www.youtube.com/watch?v=nncrPbf7CEs
2•vismit2000•22m ago•0 comments

Alleged Russian spy indicted for targeting, stalking workers in Palo Alto

https://www.paloaltoonline.com/courts/2026/11/18/alleged-russian-spy-indicted-for-targeting-stalk...
1•nekitamo•23m ago•0 comments

Doing It the Hard Way

https://blog.terraformindustries.com/2026/11/04/doing-it-the-hard-way/
1•MassPikeMike•25m ago•0 comments

Grand Theft Auto 6: A Landmark Achievement That Redefines a Console Generation

https://www.digitalfoundry.net/reviews/grand-theft-auto-6-a-landmark-achievement-that-redefines-a...
2•linzhangrun•31m ago•1 comments

PayByPhone is stealing $50M/year from their users

https://www.youtube.com/watch?v=i8mrwS5QZQE
1•carabiner•34m ago•0 comments

Steve Wozniak on Writing Apple Integer Basic

https://woz.org/
2•Skyfall106•34m ago•0 comments

Possibly leaked NSA Cyberattack tool behind attacks (2017)

https://mobile.nytimes.com/2017/05/12/world/europe/uk-national-health-service-cyberattack.html
1•TZubiri•40m ago•0 comments

Show HN: Zpup – Zdog style 3D scenes in JSON, SVG from any angle

https://github.com/rxolve/zpup
3•select1dev•44m ago•0 comments

15M web servers on one VM – smoltcp, DPDK, AF_XDP

https://kapteko.com/15-million-webservers/
6•fessguid•44m ago•1 comments

Data Contracts

https://martinfowler.com/articles/data-contracts.html
2•aiobe•52m ago•0 comments

ORA: Open Robot-Use Agents

https://fastrua.ai/blog/2026-11-code-mode/
1•matt_d•53m ago•0 comments

Fewer slides, more dragons

https://www.breakingchange.blog/p/fewer-slides-more-dragons
2•firloop•54m ago•0 comments

An LLM workflow that reproduces, improves, extends published economics research

https://www.nber.org/papers/w35782
1•latentframe•54m ago•0 comments

Keith Snook – The Valve Audio (& Hi-Fi) Interest Pages Since 1993

https://keith-snook.info/
2•gregsadetsky•56m ago•0 comments

Recursive Sparse Attention: Million-Token Extrapolation at Logarithmic Cost

https://haoailab.com/blogs/recsa/
1•matt_d•58m ago•0 comments

$Ant

https://thelightcone.substack.com/p/ant
1•bci12333•1h ago•0 comments

Show HN: A small coding tool for kids

https://dinoscript.org/
1•fclaude•1h ago•0 comments

South Korea tries to out exam cheats with Extreme Emergency smartphone alert

https://www.theregister.com/personal-tech/2026/11/19/south-korea-tries-to-out-exam-cheats-with-ex...
3•sohkamyung•1h ago•1 comments

Vals AI – Compare AI models across real-world benchmarks

https://www.vals.ai/comparison
1•cobychapple•1h ago•0 comments

What should my dog eat?

https://fluffmobile.com/what-should-my-dog-eat/
1•titusblair•1h ago•0 comments

Why do big dogs die young?

https://fluffmobile.com/research/why-big-dogs-die-young/
1•titusblair•1h ago•0 comments

How Carrel took shape: from a bookmark pile to trackers

https://usecarrel.app/blog/how-carrel-took-shape
1•neilguuu•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).