frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Free open API of weekly resale sold-price medians

https://www.aiplannermail.com/free-resale-price-api/
1•malek_oweis•32s ago•0 comments

A short history of the Troubled Teen Industry

https://www.lowimpactfruit.com/p/a-short-history-of-the-troubled-teen
1•mnky9800n•3m ago•0 comments

Bong: DuckDuckGo bang alternative, open-source and self-hosted

https://bong.glendalab.com
2•captain_bender•6m ago•0 comments

Understanding the World: A Practical Worldview Framework[pdf]

https://zenodo.org/records/24029901
1•jeyananth•15m ago•0 comments

GenAI Generate GenAI – A Diffusion Model That Generates Neural Networks

https://github.com/vagrillo/nngen
1•ConteMascetti71•16m ago•0 comments

Show HN: Coding agent skills, tested on 15 backend tasks with hidden checks

https://github.com/globalmpc/backendskills
1•bayarkhuu5155•20m ago•1 comments

Show HN: Slate Terminal

https://slate.weichart.de/
1•surrTurr•24m ago•0 comments

Found this really cool app for gamified interactions

https://apps.apple.com/in/app/wundr-fun/id6826169890
1•vaishcodescape•26m ago•0 comments

SultanC – an Arabic-first systems programming language

https://github.com/sultan-language/sultanc
1•supax•28m ago•0 comments

Show HN: Ryph – Self-Hosted, Open-Source Coding Agents for Incident Response

https://github.com/ryph-hq/ryph
1•lftherios•29m ago•0 comments

Six humanoid robots worked a 24-hour shift at a convenience store

https://www.techspot.com/news/114445-six-humanoid-robots-worked-24-hour-shift-convenience.html
3•calme_toi•31m ago•1 comments

Tiger Management

https://newsletter.richardtoad.com/tiger-management/
1•gmays•33m ago•0 comments

An injured Ukrainian soldier was evacuated by drone

https://www.theguardian.com/world/ng-interactive/2026/nov/07/how-injured-ukrainian-soldier-rescue...
2•jimnotgym•36m ago•0 comments

Meta joins Microsoft and Google in offering employees voluntary exit packages

https://www.peoplematters.in/news/strategic-hr/meta-joins-microsoft-and-google-in-offering-employ...
1•vismit2000•37m ago•1 comments

I Wired a Whole Fly Brain into ARC-AGI-3. It Lost All Season, Then Won One Back

https://www.kaggle.com/competitions/arc-prize-2026-paper-track/writeups/flygi-connectome-attribut...
1•MegusAlexandrus•38m ago•1 comments

Linux for Your Mac

https://gravitylinux.org/
1•fulafel•39m ago•0 comments

Arete-27B: Qwen3.8-27B, post-trained to reinforce Western values

https://nousresearch.com/arete
4•pretext•39m ago•7 comments

Google extends voluntary buyout offers to employees in several countries

https://www.reuters.com/business/media-telecom/google-extends-voluntary-buyout-offers-employees-s...
1•vismit2000•42m ago•0 comments

Find hiphop class near you

1•florapeterpaul3•51m ago•1 comments

Apple to Drop the iPhone's Action Button Next Year

https://www.macrumors.com/2026/11/06/apple-rumored-to-drop-the-action-button/
1•mgh2•1h ago•0 comments

Galactica, a TypeScript codebase map for developers and agents

https://github.com/cognitap/galactica
1•holistio•1h ago•0 comments

The Components of Agent Memory

https://www.anthropic.com/research/components-of-agent-memory
9•geoffbp•1h ago•1 comments

A proof of the Aaronson‑Ambainis conjecture

https://psi.inc/research/aaronson-ambainis/
1•harporoeder•1h ago•0 comments

Slonbase – A PocketBase like back end built on PostgreSQL

https://github.com/ayeshrodz/slonbase
2•ayeshrodz•1h ago•0 comments

DailyCal Your Daily Calendar

https://apps.mjanssen.nl/dailycal/
1•marc0janssen•1h ago•1 comments

Cyber Crime Investigation Masterclass – Complete Course (14 Video Chapters)

https://www.youtube.com/playlist?list=PLXMaCa5cj96E
2•rakshanex•1h ago•0 comments

Stream generative UI with JSON-render

https://vercel.com/changelog/json-render-and-chat-sdk-agents
3•burnrate•1h ago•0 comments

Are You Ready for Superintelligence?

https://twitter.com/knowerofmarkets/status/2103138714050331089
2•gmays•1h ago•0 comments

Creating Logic Using Waves: Photonic Gates [video]

https://www.youtube.com/watch?v=ln0zZcQXv38
1•ot•1h ago•0 comments

Do Not Tread Lightly

https://www.palladiummag.com/2026/11/02/do-not-tread-lightly/
1•networked•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).