frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

APX Forth: A Surprise

https://www.goto10retro.com/p/apx-forth-a-surprise
1•ibobev•38s ago•0 comments

Teen hike Claude Canada wilderness - emergency rescue

https://www.theguardian.com/world/2026/oct/08/teen-hike-claude-ai-directions-rescue-canada-mountain
1•mo7061•1m ago•0 comments

Sound and complete flow typing with unions, intersections and negations [pdf]

https://whileydave.com/publications/Pea13_VMCAI_preprint.pdf
1•fanf2•2m ago•0 comments

When No ID Means No Internet: Age Verification and Right to Access Information

https://www.eff.org/deeplinks/2026/10/when-no-id-means-no-internet-age-verification-and-right-acc...
1•mdp2021•3m ago•0 comments

Show HN: SpectroMood, speech emotion detection with a decision model

https://github.com/ketul93/spectromood
1•ketul_shah•4m ago•0 comments

RTSP to Virtual web cam in Rust

https://github.com/carl-eis/rtsp-rust-virtualcam
1•DistantCl3ric•5m ago•0 comments

EU faces gas supply shortage as winter looms

https://www.politico.eu/article/eu-faces-gas-supply-shortage-iran-war-winter-looms/
1•leonidasrup•6m ago•0 comments

Kubernetes for AI agents: when code is cheap, proof matters

https://kubedex.com/kubernetes-ai-agentic-development/
1•stevenacreman•10m ago•0 comments

Turn any app/website into an API

https://github.com/goodnight000/api-anything
1•goodnight000•12m ago•1 comments

AI has made it easier than ever to make apps nobody asked for

https://boakandbailey.com/2026/09/ai-has-made-it-easier-than-ever-to-make-apps-nobody-asked-for/
3•padraic7a•12m ago•1 comments

You are better than me

https://antejavor.github.io/blog/2026/you-are-better-then-me/
3•taubek•12m ago•0 comments

How to Automatically Redact Leaked API Keys and .env Files at the Edge

https://medium.com/@divinelab/how-to-automatically-redact-leaked-api-keys-and-env-files-at-the-ed...
1•divinelab•16m ago•0 comments

New AMOS PRO 3D Basic online

https://twitter.com/BlackCreepy_Cat/status/2108115762757984416
2•seyhajin•19m ago•0 comments

Welcome to Gemini at Work 2026: Introducing the Gemini Agent

https://cloud.google.com/blog/products/ai-machine-learning/welcome-to-gemini-at-work-2026
2•oscarfr•21m ago•0 comments

The Two UX Gulfs: Evaluation and Execution – NN/G

https://www.nngroup.com/articles/two-ux-gulfs-evaluation-execution/
4•ankitg12•22m ago•1 comments

Prux is a minimal terminal coding agent

https://github.com/heng30/prux
1•heng30•22m ago•0 comments

Run Windows games (up to D3D9) in the browser

https://bottleship.pages.dev/
6•vasyop•23m ago•0 comments

Writing blog posts while walking the dog

https://jacobtomlinson.dev/posts/2026/writing-blog-posts-while-walking-the-dog/
2•tfader•24m ago•0 comments

What the interns have wrought, 2026 edition

https://blog.janestreet.com/wrought-2026/
2•s-zeng•24m ago•0 comments

Snyk is reporting false CVE

https://github.com/github/advisory-database/pull/10132
3•leyakak•27m ago•0 comments

Nuclear Weapon Storage Bunker

https://www.google.com/maps?q=Nuclear+weapon+storage+bunker,+kaliningrad&t=k
3•nomilk•28m ago•0 comments

How big is a Git commit?

https://ratfactor.com/cards/git-commit-size
2•theanonymousone•30m ago•0 comments

Bengio: 'If you prioritize safety, leave frontier AI companies'

https://www.transformernews.ai/p/yoshua-bengio-if-you-prioritize-safety-leave-frontier-ai-companies
2•theanonymousone•31m ago•0 comments

Where does your company draw the line on sensitive data in AI tools?

https://privatesuperintelligence.si/
3•pj_mitosislabs•36m ago•0 comments

Provable Subexponential Algorithms for NIST Third-Round Lattice Families

https://arxiv.org/abs/2610.11254
2•sbulaev•37m ago•0 comments

Wikipedia says rogue OpenAI agents edited private wikis and hammered servers

https://www.techspot.com/news/114131-wikimedia-foundation-openai-rogue-ai-agents-caught-making.html
2•nonfamous•45m ago•0 comments

We traced the install scripts of NPM's 5k most-downloaded packages

https://www.kenwea.com/guides/npm-top-5000-install-steps-traced
1•Myzura•49m ago•1 comments

Arena nearly doubles valuation to $3.1B valuation in 10 months

https://techcrunch.com/2026/10/08/popular-ai-leaderboard-arena-nearly-doubles-valuation-to-3-1b-v...
2•doppp•50m ago•2 comments

Big Blob of Compute

https://substack-post-media.s3.us-east-1.amazonaws.com/post-files/218885795/7087c3ff-0f96-4e38-9e...
2•MrOrelliOReilly•51m ago•0 comments

Where Is the AI?

https://johnomeara.com/blog/where-is-the-ai
5•John7878781•54m 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).