frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: A self-organizing digital Zettelkasten for research

https://github.com/ulyssestenn/funes
1•bethanyhunt•41s ago•0 comments

Sharon Osbourne to release AI avatar of late husband Ozzy Osbourne

https://www.kxan.com/news/national-news/sharon-osbourne-to-release-ai-avatar-of-late-husband-ozzy...
1•ohjeez•1m ago•0 comments

The AI Efficiency Plateau

https://newsletter.getdx.com/p/the-ai-efficiency-plateau
1•azhenley•1m ago•0 comments

Bible MCP

https://bible.grod.es
1•grodes•1m ago•0 comments

The Decline of the Family Computer

https://brainbaking.com/post/2026/05/the-decline-of-the-family-computer/
2•Brajeshwar•3m ago•0 comments

F-35 versus Gripen E: A deep deep dive

https://hushkit.net/2025/03/14/f-35-versus-gripen-e-a-deep-deep-dive/
1•root-parent•4m ago•0 comments

Building OpenCode with Dax Raad [video]

https://www.youtube.com/watch?v=1VqKUrxR2C8
1•kesor•5m ago•0 comments

The Internet Has a Front Door – The Edge Is Now Intelligent

https://www.akamai.com/blog/cloud/internet-front-door-edge-now-intelligent
1•triplechill•6m ago•0 comments

Canada to order military plane fleet from Sweden in shift from US suppliers

https://www.theguardian.com/world/2026/may/27/canada-sweden-saab-globaleye-aircraft
1•tosh•6m ago•0 comments

Show HN: GAH, programatically add Git hunks

https://github.com/ThatXliner/gah
2•thatxliner•7m ago•0 comments

Sonic: Open-source platform to run logic over any network data

https://github.com/manassesbinga/sonic
1•numero6•8m ago•0 comments

Slick Lorem Ipsum Generator

https://lipsum-lorem.com
2•hackerbeat•9m ago•0 comments

grpyc: Fast gRPC replacement for Python, built in Rust

https://grpyc.com
1•tgma•9m ago•0 comments

A new register allocator for ZJIT

https://railsatscale.com/2026-05-27-a-new-register-allocator-for-zjit/
2•tenderlove•10m ago•0 comments

Our New Sustainability Startup

https://uksrs.org.uk/
1•rainmakrr•12m ago•0 comments

Show HN: 10k+ Funny Quotes

https://funnyquotes.lol/
1•hackerbeat•12m ago•0 comments

Training a 22MB prompt injection classifier that runs inline in a Lambda

https://www.stackone.com/blog/training-22mb-prompt-injection-classifier/
2•Hiskias•12m ago•0 comments

Show HN: When your agent LLM judge become your enemy

https://dmitriibuchilin.substack.com/p/we-hardened-an-llm-agent-each-defense
1•DmitriyBuchilin•12m ago•0 comments

WarpSpeed Approaches Speed of Light on Blackwell

https://www.doubleai.com/research/warpspeed-approaches-speed-of-light-on-blackwell
1•laginimaineb•13m ago•0 comments

Mutant Spider doesn't steal passwords. It resets MFA and steals the token

https://venturebeat.com/security/attack-dominating-financial-services-resets-mfa-steals-token
1•geephroh•13m ago•0 comments

Citadeld – Replay any CI failure locally from a single artifact file

2•hknzerodark1•13m ago•0 comments

May I recommend thinking of Emacs as your Fortress of Solitude

https://martinsos.com/posts/may-recommend-emacs-home-base
1•birdculture•15m ago•0 comments

Enlicitide lowers LDL by 60% with little side effect

https://apnews.com/article/cholesterol-merck-enlicitide-ldl-statin-pcsk9-f7383ce62b2e406841fbe630...
2•highfrequency•16m ago•0 comments

Recruit cracked engineers using GitHub

https://research.powerset.co/posts/recruit-cracked-engineers-using-github
3•meta87•16m ago•0 comments

What Did the Hudson River School Painters See?

https://www.nytimes.com/2026/05/25/travel/hudson-valley-painting-thomas-cole-frederic-church.html
1•prismatic•18m ago•0 comments

Show HN: Hm – a task runner with a Python DSL, growing into a CI/CD system

https://github.com/harmont-dev/harmont-cli
2•suis_siva•18m ago•0 comments

Webb reveals black hole that formed before its galaxy

https://esawebb.org/news/weic2609/?lang
1•alkyon•19m ago•0 comments

Spotify boss defends move to AI music, saying it is better than 'slop'

https://www.theguardian.com/technology/2026/may/26/spotify-ai-remix-tool-protects-artists-slop
1•Brajeshwar•19m ago•0 comments

Pied Piper Pitching YC: Simpsons Style

https://v2.deepmyst.com/v/f1FQektQ2Dm9Vlj1Ee6p3w
1•bahaAbunojaim•20m ago•0 comments

I think Anthropic and OpenAI have found product-market fit

https://simonwillison.net/2026/May/27/product-market-fit/
3•simonw•21m 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).