frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Recorded, Not Proven

https://claude.ai/artifact/HucaoGuaQqp9g9TZX97HGw
1•throwaway13sas•3s ago•0 comments

Git-bug, project bug tracker tool using Git objects as storage, releases v0.11.0

https://github.com/git-bug/git-bug/releases/tag/v0.11.0
1•iamnothere•1m ago•0 comments

The UV index is not the warm sensation of sunlight on bare skin

https://blog.asciitweezers.com/the-uv-index-is-not-the-warm-sensation-of-sunlight-on-bare-skin/
3•evakhoury•3m ago•0 comments

Relaticle, a self-hosted CRM where AI updates data only after your approval

https://relaticle.com
2•manukminasyan•3m ago•0 comments

No Sloptober

https://no-sloptober.com/
4•jeremiahlee•4m ago•0 comments

Show HN: NetM8 OS

https://netm8.com/
1•goodknightleo•6m ago•0 comments

Show HN: Typed polyglot compiler for CLI/API/MCP generation

https://github.com/morloc-project/morloc
1•arendsee•7m ago•0 comments

Tinyjs – desktop apps for macOS, Windows, and Linux in ~6 MB

https://tinyjs.app
1•josephscott•8m ago•0 comments

I beat all the popular harnesses on FrontierHarness Eval

https://github.com/tontinton/maki
2•tontinton•9m ago•0 comments

Microsoft killed FoxPro in 2007. Anyway, here's FoxPro revived

https://foxscript.org/
2•boredjohnny•9m ago•0 comments

ArchiveBox v0.9 released with new native apps and 50 new plugins

https://docs.sweeting.me/s/archivebox-v0.9-announcement
1•nikisweeting•10m ago•1 comments

Kotlin 2026: Layoffs, AI, Google – Is the Golden Age Over? Jake Wharton Explains [video]

https://www.youtube.com/watch?v=9WjPdgOK-68
1•cstever•13m ago•0 comments

Why AI Can't Replace You with Cory Doctorow [YouTube] [video]

https://www.youtube.com/watch?v=VU3gABvwZCM
2•cstever•14m ago•0 comments

Open-Weight AI Models Seize Token Lead, but Proprietary Still Make the Money

https://techstrong.ai/generative-ai/open-weight-ai-models-seize-token-lead-but-proprietary-system...
2•CrankyBear•14m ago•0 comments

Hive at v5: The Swarm Grew Up, and It Is Learning to Leave the Dashboard

https://hivecommons.substack.com/p/hive-at-v5-the-swarm-grew-up-and
1•jcastro•14m ago•0 comments

DoorDash reaches $131.5M settlement with NYC for failing to pay workers

https://documentedny.com/2026/09/22/mamdani-delivery-workers-doordash-labor-settlement/
3•paimapi•14m ago•0 comments

Apple's new watches are always listening

https://theconversation.com/apples-new-watches-are-always-listening-292117
3•sajithdilshan•15m ago•0 comments

Enough Reason to Act: AI safety needs policy not dismissal

https://substack.norabble.com/p/enough-reason-to-act
2•nedruod•17m ago•0 comments

Show HN: Video clip maker/editor right in the browser (supports YouTube)

https://heahy.com/studio
1•ignasheahy•18m ago•0 comments

Show HN: Sandopolis – A portable multi-system Sega emulator

1•habedi0•22m ago•0 comments

Show HN: JevEval, evals using Jev-as-a-judge

https://deepeval.com/blog/introducing-jev-as-a-judge
1•jeffreyip•22m ago•0 comments

Datapages v0.10.0 Beta Release

https://github.com/romshark/datapages/releases/tag/v0.10.0
4•romshark•23m ago•2 comments

Kremlin-backed forgery scheme moved $6.9B through global banks

https://www.ft.com/content/3848a4ad-1426-4352-ba86-ef1279c4ffd1
3•tagyro•27m ago•0 comments

Common denominators of organisms with exceptional longevity

https://www.aging-us.com/article/206419/text
1•tima101•29m ago•0 comments

Motorola Signature 27 officially gets a North American launch

https://9to5google.com/2026/09/22/motorola-signature-27-north-america-launch-confirmed/
1•Cider9986•32m ago•0 comments

LLM Ass Bench

https://www.assbench.com/
5•fragmede•35m ago•4 comments

Show HN: ToolHub – Hierarchical nav for 30 MCP tools without context bloat

https://github.com/Talos-popcorn/toolhub
1•soidkeo•35m ago•0 comments

New trends in global card fraud

https://stripe.com/blog/new-trends-in-global-card-fraud-how-3d-secure-and-regional-mandates-are-a...
2•rndsignals•37m ago•0 comments

Show HN: With generators/DI, LazyPromise has become a tiny alternative to Effect

https://lazypromise.com/
1•ivan7237d•37m ago•0 comments

Making Concurrent Hardware Verification Sequential (2025)

https://dl.acm.org/doi/full/10.1145/3729331
1•imakwana•37m 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).