frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

You couldn't have proved the Riemann hypothesis on a $200/month Claude/GPT plan

https://greyenlightenment.com/2026/11/20/the-riemann-hypothesis-and-the-industrialization-of-math...
1•paulpauper•2m ago•0 comments

I Rebuilt Eleventy in Rust with AI in One Week

https://joshtronic.com/2026/11/22/eleventy-rebuilt-rust/
1•joshtronic•3m ago•0 comments

SmartBallot

https://smartballotapp.com/
1•iLuddite•7m ago•0 comments

Show HN: UltraIterator – Fractal Exhibition Android App

https://danwills.github.io/ultraiterator/
1•danwills•7m ago•0 comments

Cleverbridge warns hackers stole credit card numbers, CVVs in data breach

https://www.bleepingcomputer.com/news/security/cleverbridge-warns-hackers-stole-credit-card-numbe...
1•MadrasThorn•8m ago•0 comments

When in Doubt, Flail About

https://www.seangoedecke.com/when-in-doubt-flail-about/
1•msaltz•10m ago•0 comments

Superintelligence Is Arriving

https://twitter.com/alexandr_wang/status/2124636606959345776
1•reducesuffering•10m ago•0 comments

Do We Still Need Mathematicians?

https://cacm.acm.org/news/do-we-still-need-mathematicians/
1•pseudolus•11m ago•0 comments

Show HN: I built a simple ambient sounds app with music and white noise

https://puresound.app
1•jrrc_dev•17m ago•0 comments

Board Game Learning Path

https://boardgamesintro.com/posts/board-game-learning-path-beginner-to-expert/
1•shubaduba•19m ago•0 comments

Show HN: Inbox Envoy, an open-source email triage skill for your own AI agent

https://github.com/salespeak-ai/inbox-envoy
1•omergotlieb•19m ago•0 comments

FBI is having a mass hire for IT specialists

https://apply.fbijobs.gov/psc/ps/EMPLOYEE/HRMS/c/HRS_HRAM_FL.HRS_CG_SEARCH_FL.GBL?Action=U&FOCUS=...
4•illidan1000•21m ago•2 comments

Nespresso's project to reduce grams of coffee per capsule

https://alvinbunk.wordpress.com/2026/11/01/nespresso-project-olympus/
12•bobbiechen•22m ago•5 comments

tvpipe: video from your computer on the TV

https://tvpipe.party/
2•chriscbr•23m ago•0 comments

Cipher

https://www.zodiacciphers.com/340-cipher.html
2•zenincognito•24m ago•0 comments

0rwx – A simple model of AI usage, inspired by Unix permissions

https://0rwx.com/
2•misswaterfairy•26m ago•1 comments

Show HN: Lexis World – a word game for kids who don't need to know any words yet

https://lexisworld.org
1•piwakawaka•27m ago•0 comments

Network Researchers Nail Down Theory of 'Perfect Resilience'

https://www.quantamagazine.org/network-researchers-nail-down-theory-of-perfect-resilience-20261120/
1•pseudolus•27m ago•0 comments

What should AAA game devs do

https://gamethoughts.bearblog.dev/what-should-aaa-game-devs-do/
1•TuckerBMorgan•28m ago•0 comments

FBI agents fired by Kash Patel sue for their jobs back

https://www.pbs.org/newshour/politics/fbi-agents-and-analysts-who-were-fired-for-working-on-trump...
1•illidan1000•29m ago•1 comments

The Exhaustion of Making Decisions

https://velocitycurve.substack.com/p/the-exhaustion-of-making-decisions
1•mooreds•35m ago•0 comments

Ran IPTables Flush? How to Regain SSH Access After Being Locked Out of CS (2020)

https://blog.centminmod.com/2020/11/21/2090/regain-ssh-access-after-being-locked-out-by-iptables-...
1•zenincognito•36m ago•0 comments

Pre-training is (still) not plateauing

https://sebastianraschka.com/blog/2026/pretraining-is-still-not-plateauing.html
3•ModelForge•36m ago•0 comments

The new set of problems for engineers to solve

https://www.katelynlesse.com/blog/new-problems-for-engineers-to-solve
3•ot•37m ago•0 comments

Want Better Kids? Put Up Your Feet

https://www.nytimes.com/2026/11/22/opinion/better-kids-work-less-parents.html
1•mooreds•37m ago•0 comments

Arizona grandfather hailed as a hero after finding missing toddler in desert

https://www.theguardian.com/us-news/2026/nov/22/arizona-grandfather-toddler-missing-desert
6•hackernj•38m ago•0 comments

How to Implement AI with .NET

https://belitsoft.com/net-development-services/pdf-to-video-ai-converter
1•customllm•40m ago•1 comments

Why the Soviet GitHub Failed [video]

https://www.youtube.com/watch?v=CIFWlxQrl88
1•wmchen•46m ago•0 comments

Ask HN: If you played GTA6 what did you like and didn't like about it?

1•illidan1000•46m ago•0 comments

Looking for the Formula to Stop an Apocalypse

https://www.nytimes.com/2026/11/22/magazine/looking-for-the-formula-to-stop-an-apocalypse.html
1•d4ft•47m 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).