frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Jelly Sheet

https://mrdoob.github.io/codevember-2026/01/
1•memalign•1m ago•0 comments

DeepSeek Harness' new Creator Mode creates plugins from prompts

https://mashable.com/tech/deepseek-creator-mode-plugins
1•esafak•1m ago•0 comments

Show HN: TickerTown, a pixel-art stock market simulator

https://tickertown.ai
1•williswee•1m ago•0 comments

Democrats win control of the House of Representatives

https://www.nbcnews.com/politics/2026-election/democrats-house-control-midterm-election-wins-trum...
7•geox•5m ago•0 comments

Show HN: Rendering 3D Models in the Terminal

https://muratbayraktar.dev/blog/3d-rendering-in-the-terminal/
1•bob65536•7m ago•0 comments

Study solved a 150-year-old mystery into the identity of the extinct giant crane

https://www.bournemouth.ac.uk/news/2026-10-28/study-has-solved-150-year-old-mystery-identity-exti...
1•gmays•11m ago•0 comments

Show HN: Railyard – Git-push deploys and OSS templates on your own VPS

https://railyard.run/
1•RailyardRun•15m ago•0 comments

SemiconductorX – The Chip Supply Chain, from Quartz to Module

https://semiconductorx.com/
1•peter_d_sherman•18m ago•0 comments

Distinct cellular and genetic differences in colorectal cancer in young patients

https://www.dana-farber.org/newsroom/news-releases/2026/study-reveals-distinct-cellular-and-genet...
4•gmays•21m ago•0 comments

Terminal Apps Respecting System Dark Mode

https://samasaur1.github.io/blog/terminal-apps-respecting-system-dark-mode
1•ankitg12•27m ago•0 comments

Ask HN: What do you call Holy Grail mania risk?

2•totetsu•30m ago•1 comments

Arrows to arrows, categories to queries (2025)

https://reasonablypolymorphic.com/blog/arrows-to-arrows/
7•firstbase•30m ago•0 comments

NetBSD 11.1

https://netbsd.org/releases/formal-11/NetBSD-11.1.html
2•jaypatelani•30m ago•0 comments

Turn Qwen evil using a single neuron

https://ziva.sh/blogs/evil-qwen
2•sayamss•34m ago•0 comments

Ultrafine Martian dust presents additional risks for future crewed missions

https://www.pnas.org/doi/10.1073/pnas.2620747123
1•caiobegotti•38m ago•0 comments

Show HN: DropMyPage – turn an HTML file or PDF into a link and QR code

https://dropmypage.com
1•mukeshdotnet•43m ago•0 comments

Crushed Shells Protect Against Ocean Acidification

https://www.ucdavis.edu/news/how-crushed-shells-protect-against-ocean-acidification
1•gmays•43m ago•0 comments

Is hosting an open-source inference engine profitable?

https://userecurrence.ai/research/is-hosting-open-source-inference-profitable
1•jinqueeny•43m ago•0 comments

Silicon Valley Promises AI Will Cure Disease. Drugmaker CEOs Aren't Buying It

https://www.wsj.com/tech/ai/silicon-valley-promises-ai-will-cure-disease-drugmaker-ceos-arent-buy...
2•nradov•43m ago•0 comments

Unlocking the (Nintendo) lockout (see pages 6-9) [pdf]

https://archive.nes.science/nintendoage-forums/static.nintendoagemedia.com/ezine/Issue_07-2008.pdf
1•pseudohadamard•47m ago•0 comments

Show HN: No-JS <dialog> in Blades CSS v3.1.1 (a Pico CSS fork)

https://blades.dev/css/modal/
1•anydigital•47m ago•0 comments

I Built an AI That Works Through the Apocalypse – Will Prowse [video]

https://www.youtube.com/watch?v=E2N7IsZ_Xio
1•bbrookshier•48m ago•0 comments

Old, Polluting Jet Engines Are Being Scavenged to Power Data Centers

https://www.nytimes.com/2026/11/03/climate/jet-engines-ai-data-center-generators-boneyard.html
2•JumpCrisscross•54m ago•0 comments

Failed Experience → Hypothesis → Refutation → Principle → Worldview

https://zenodo.org/records/22706328
1•shoman3003•55m ago•0 comments

Is Your TV Spying on You

https://zlu.me/2026/11/02/is-your-tv-spying-on-you.html
2•zlu•55m ago•1 comments

Tell HN: Don't use Postman, they proxy your info without your permission

3•neya•58m ago•1 comments

Design Tenets for Agent Identity Management Systems

https://www.nist.gov/blogs/cybersecurity-insights/design-tenets-agent-identity-management-systems
1•mooreds•59m ago•1 comments

Terence Tao: Math 2.0 [video]

https://www.youtube.com/watch?v=aHpPoNNTOKY
2•vismit2000•1h ago•0 comments

The easiest Chrome extension to fix your GEO and SEO

https://lumi-geo.pages.dev/
1•GoarDev•1h ago•0 comments

Zero Wire, a hub for investigating critical Internet vulnerabilities

https://blog.cloudflare.com/zero-wire/
1•882542F3884314B•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).