frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Blueprintr – Diagram-first knowledge base with live cloud import

https://blueprintr.io
1•JoshJamesAnthon•4m ago•1 comments

Five people dead after Amazon cargo plane overshoots runway at Florida airport

https://www.thejournal.ie/amazon-cargo-plane-miami-airport-7154605-Sep2026/
1•r_singh•4m ago•0 comments

The Living Documents Manifesto

https://orionfold.com/manifesto/
1•arkwor•5m ago•0 comments

The Continued Decline of White Collar Prosecutions

https://therevolvingdoorproject.org/the-continued-decline-of-white-collar-prosecutions/
1•paulpauper•5m ago•0 comments

Federated Stars (2024)

https://domaindrivenarchitecture.org/blog/2024-06-05-howto-federated-stars/
1•birdculture•6m ago•0 comments

Elena Ferrante and the people who vouched for her

https://www.strangeclarity.com/p/elena-ferrante-and-the-people-who
1•paulpauper•8m ago•0 comments

Do children grow continuously or do they grow in fits and starts?

https://statmodeling.stat.columbia.edu/2026/08/31/fits-and-starts/
1•paulpauper•9m ago•0 comments

3D Printed Hydrogels for Soft Robotic Applications (2025)

https://www.sciencedirect.com/org/science/article/pii/S0973862225000261
1•pliiight•13m ago•0 comments

VCF West 2026: Making games in the 1980s – David Crane, Garry Kitchen [video]

https://www.youtube.com/watch?v=9ramxZ1a6NM
1•fortran77•15m ago•0 comments

Show HN: Antifailure, a disposable copy of production for every pull request

https://antifailure.dev
2•VirS•16m ago•1 comments

Slop-Creep: When Building Gets Cheaper Than Thinking

https://awaitinginput.substack.com/p/slop-creep-when-building-gets-cheaper
2•bs2•16m ago•0 comments

Elon Musks 7 Predictions?

https://nostradamusintellect.com/articles/elon-musk-predictions-scored
1•Nikola5•17m ago•0 comments

Show HN: MaskShift – a maximalist coding agent with zero NPM dependencies

https://github.com/nafeeur/MaskShift
1•Nafeeur•20m ago•0 comments

David Rumsey Map Collection

https://www.davidrumsey.com
2•twalichiewicz•21m ago•1 comments

Armed man attacks Ohio governor candidate Amy Acton, several injured

https://www.dispatch.com/story/news/politics/2026/09/06/armed-man-attacks-ohio-governor-candidate...
2•cocacola1•24m ago•0 comments

Apple Just Fixed TestFlight

https://www.macrumors.com/2026/09/04/apple-just-fixed-testflight/
2•7777777phil•24m ago•0 comments

Show HN: AlternateRealities.lol – Create any kind of poing and click story

https://alternaterealities.lol
2•nihey•33m ago•0 comments

The Microeconomics of Artificial Intelligence (Open Access)

https://direct.mit.edu/books/oa-monograph/6067/The-Microeconomics-of-Artificial-Intelligence
2•neehao•35m ago•0 comments

London's approach to knife crime is working

https://www.economist.com/britain/2026/09/03/londons-approach-to-knife-crime-is-working
3•andsoitis•35m ago•1 comments

Rising Income Risk at the Top

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=7377841
2•neehao•36m ago•0 comments

GPU kernel bug by derived structure from measured hardware shape, not profiling

https://github.com/arraylady-jpg/moa-shape-derivation
1•lmullin•37m ago•0 comments

Toward a Symbiotic Society with Generative AI: For Living Together into Future

https://link.springer.com/chapter/10.1007/978-981-95-1327-7_35
1•andsoitis•38m ago•0 comments

Frontier Models' Vulnerability Patches are Often F.L.A.W.E.D. [pdf]

https://1password.com/files/resources/frontier-models-vulnerability-patches-flawed.pdf
1•crummy•38m ago•0 comments

Windows 11's "special" developer edition looks like another marketing misfire

https://www.neowin.net/opinions/windows-11s-special-developer-edition-sounds-like-yet-another-mar...
11•bundie•43m ago•1 comments

Why can't human care be more like a vet visit?

https://www.seattletimes.com/opinion/why-cant-human-care-be-more-like-a-vet-visit/
3•bookofjoe•46m ago•1 comments

Bobbin: Pentest with a local LLM, so target data never leaves your machine

https://github.com/daniele110199/bobbin
1•daniele110199•47m ago•1 comments

Eigen Hacks embeds this site in eigenbasis of all news

https://eigenhacks.com
1•setuporg•47m ago•1 comments

Creativity: The Helsinki bus station theory

https://medium.com/change-your-mind/the-most-powerful-lesson-on-creativity-youll-ever-hear-helsin...
1•RetroTechie•47m ago•3 comments

Jensen Huang: GPT-6 Astra Trained on ~100K+ Nvidia Grace Blackwell NVLink72

https://twitter.com/JensenHuang/status/2096700264569090384
1•vertigoruntime•50m ago•2 comments

Explaining the Predictive Performance of Police in Cases of Domestic Abuse

https://ideas.repec.org/p/nbr/nberwo/35672.html
1•neehao•51m 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).