frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: GemmaTrans – On-device translation for macOS, built with MLX

https://github.com/Rand01ph/gemma-trans
1•Rand01ph•1m ago•0 comments

Impact of Screen Time, Media&Technology Use on Under 2s during first 1001 Days [pdf]

https://static1.squarespace.com/static/68230d36099adb5f88e3536f/t/6a3d5230859005198ef50f68/178240...
1•bookofjoe•2m ago•0 comments

Vessel – Agentless, local-first VPS control plane in Tauri and Rust

https://github.com/shihebamrii/vessel
2•shihebamrii•5m ago•0 comments

Zuckerberg's Increasingly Bizarre War on Whistleblowers

https://pluralistic.net/2026/06/27/zuckerstreisand-2/
3•HotGarbage•9m ago•0 comments

Show HN: Proton a Pure go, no CGO GUI library for building applications

https://protonlib.pages.dev/
2•CzaxTanmay•9m ago•0 comments

Corv: An SSH client for AI agents (and humans)

https://github.com/khalid-src/corv-client
2•khalid_0002•9m ago•1 comments

Show HN: Looking for help finishing up my privacy focused web scrapper

https://github.com/bilbywilby/god_stack
2•EddieMunsterrr•10m ago•0 comments

AI Anxiety Is Fueling Burnout Across Silicon Valley's Tech Workers

https://www.bloomberg.com/news/articles/2026-06-26/ai-anxiety-is-fueling-burnout-across-silicon-v...
3•littlexsparkee•10m ago•1 comments

Completion Rate Is a Vanity Metric

https://www.formaly.io/blog/completion-rate-is-a-vanity-metric
2•Arindam1729•10m ago•0 comments

Logical Physical Clocks and Consistent Snapshots in Globally Distributed DB [pdf]

https://cse.buffalo.edu/tech-reports/2014-04.pdf
2•teleforce•12m ago•0 comments

Show HN: The stock research terminal that remembers

https://finqos.com
2•marmmaz•15m ago•0 comments

Data Privacy while using API tools

3•11shyam11•15m ago•1 comments

Anonymous GitHub account mass-dropping undisclosed 0-days

https://github.com/bikini/exploitarium
6•binyu•16m ago•0 comments

Miglite – raw SQL migrations for Go projects

https://inhere.github.io/en/blog/2026/gookit-miglite-intro/
2•jxia•17m ago•0 comments

Why Germany's Deutsche Bahn will face delays for many years

https://www.dw.com/en/why-germanys-deutsche-bahn-will-face-delays-for-many-years/a-77721079
2•rustoo•19m ago•1 comments

Permissive vs. Copyleft Open Source

https://shazow.net/posts/permissive-vs-copyleft/
2•vortex_ape•21m ago•0 comments

We Can Fly

https://silvestro2026.substack.com/p/we-can-fly
3•silvestromedia•22m ago•0 comments

Post-Mythos Cybersecurity: Keep calm and carry on

https://cephalosec.com/blog/cybersecurity-in-the-post-mythos-era-keep-calm-and-carry-on/
9•Versipelle•23m ago•2 comments

We refactored half the business to fix a janky script

https://swizec.com/blog/code-is-the-easy-part-or-how-we-refactored-half-the-business-to-fix-a-jan...
2•mooreds•23m ago•0 comments

The Bottleneck Strikes Again

https://cutlefish.substack.com/p/tbm-427-the-bottleneck-strike-again
2•mooreds•24m ago•0 comments

Autonomous AI Software Development: Good Idea, or Bad Idea?

https://adrianavillela.com/post/the-great-autonomous-ai-experiment/
3•mooreds•25m ago•0 comments

SmartGit 26.1

https://www.smartgit.dev/whats-new/26_1/
2•wnesensohn•26m ago•0 comments

Netflix Simplified Batch Compute with Kueue

https://netflixtechblog.com/how-netflix-simplified-batch-compute-with-kueue-87860682629c
2•dalvrosa•26m ago•0 comments

Data Access Patterns That Makes Your CPU Really Angry

https://blog.weineng.me/posts/slowest_add
2•weineng•27m ago•0 comments

An "infovore" shares his chats

https://chatgptpro.substack.com/p/tyler-cowen
4•jger15•34m ago•0 comments

Democrats Are Done with Caution

https://www.nytimes.com/2026/06/24/opinion/nyc-election-primary-avila-chevalier-lander-valdez.html
3•donsupreme•36m ago•0 comments

We Still Haven't Solved HDR [video]

https://www.youtube.com/watch?v=6hAVA6_Sczs
2•radeeyate•37m ago•0 comments

Stop wasting your LLM context window on standard JSON and YAML

https://www.npmjs.com/package/mason-parser
2•DustLee•39m ago•0 comments

The Swansong of the Glaciers

https://www.wsl.ch/en/news/the-swansong-of-the-glaciers/
3•geox•40m ago•0 comments

Ask HN: Threat Models for Search Engines

https://uruky.com/docs/threat-models?il=en
3•BrunoBernardino•41m 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).