frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Tech giant Nvidia to investigate CEO's affair with suspected Chinese spy

https://www.bbc.co.uk/news/live/cm78p221e313t
1•iamflimflam1•1m ago•0 comments

The Tragedy of the Oxide Root of Trust

https://danielmangum.com/posts/tragedy-oxide-rot/
1•hasheddan•2m ago•0 comments

Stop Measuring Developer Productivity

https://leaddev.com/reporting/stop-measuring-developer-productivity
1•theanonymousone•6m ago•0 comments

'A new age of climate extremes': Earth accumulating heat at accelerating rate

https://www.theguardian.com/environment/2026/nov/09/cop31-climate-extremes-earth-global-heating
1•ljf•10m ago•0 comments

ESP32 Tailscale gateway with WoL and other recovery functions

https://mattboxx.github.io/esp32-tailnet-gateway/
1•Mattboxx•11m ago•1 comments

Show HN: CodeHub – I turned release notes into pictures for GitHub repositories

https://www.nadary.com/codehub
1•forza2026•13m ago•0 comments

Asahi Linux forbids using AI to contribute

https://asahilinux.org/llm-policy/
1•jiwidi•13m ago•0 comments

IAL Paper Tracker – free tracker for Edexcel IAL students

https://www.ialpapertracker.com/
1•elvanlatief•17m ago•0 comments

PixelOS

https://pixelos.net/
1•emilburzo•18m ago•0 comments

500 Lines or Less: A Simple Object Model

https://aosabook.org/en/500L/a-simple-object-model.html
1•signa11•21m ago•0 comments

The Dose Makes the Poison

https://en.wikipedia.org/wiki/The_dose_makes_the_poison
1•num42•22m ago•0 comments

Making the Iron Giant Live

https://animationobsessive.substack.com/p/making-the-iron-giant-live
2•vinhnx•23m ago•0 comments

370 Books in 20 months: South African author defends her use of AI

https://www.enca.com/lifestyle/370-books-20-months-sa-author-defends-her-use-ai
2•theanonymousone•28m ago•0 comments

Tracking AI's Real-Time Footprint on the Labor Market

https://hai.stanford.edu/news/tracking-ais-real-time-footprint-on-the-labor-market
1•T-A•29m ago•0 comments

Next-Concept Modeling: Fast, Parallel Coarse-to-Fine Text Generation

https://arxiv.org/abs/2610.14162
2•theanonymousone•29m ago•0 comments

Whoops, I context-switched one too many times

https://jesseduffield.com/Whoops-I-context-switched-one-too-many-times/
3•porridgeraisin•32m ago•0 comments

Show HN: Dependency free RSS reader (vibecoded with DeepSeek)

https://github.com/bipinKrishnan/rss_feed
1•bipin345•33m ago•0 comments

Show HN: Wallpaper that adapts to your icon layout

https://deskland.app/
1•zshanedesign•38m ago•0 comments

AML Cycle 2 preview: How well does coding memory hold up under noise?

https://x.com/AgentMemoryL/
1•SndOfViento•40m ago•0 comments

The Vulnerable Moment: Personalization, Exploitation

https://medium.com/@smoking2man/the-vulnerable-moment-personalization-exploitation-and-the-circul...
1•Aldus551•42m ago•0 comments

Is Opus 5.5 nerfed? Thinking patterns changed on November 3

https://twitter.com/shanemelaugh/status/2119192075505893695
10•rzk•45m ago•2 comments

Being a meat proxy for AI should be grounds for getting people fired

https://swiftrocks.com/being-a-meat-proxy-for-ai-should-be-grounds-for-getting-people-fired
35•rockbruno•54m ago•21 comments

My AI agent archived 53 of its own skills during a maintenance run

https://www.dhawalshah.net/article/ai-agent-governance/
2•djshah•54m ago•0 comments

WindyMaps – Free offline maps, 1h/1km weather and route trip planner

https://windymapy.com
2•alesmikes•1h ago•0 comments

Engineering for Slow Internet

https://brr.fyi/posts/engineering-for-slow-internet
3•eiiot•1h ago•0 comments

Apple Store Subscription Sign-Up Controversy Exposed

https://www.macrumors.com/2026/11/08/apple-store-subscription-controversy/
4•dabinat•1h ago•0 comments

OKF – the Markdown spec for humans and AI

https://okf.md/
2•locknitpicker•1h ago•0 comments

Next-Concept Modeling: Fast, Parallel Coarse-to-Fine Text Generation

https://hazyresearch.stanford.edu/blog/2026-10-12-ncm
1•jonbaer•1h ago•0 comments

Data for Canada – Orthoimagery Data Packages

https://source.coop/dataforcanada/d4c-datapkg-orthoimagery
2•marklit•1h ago•0 comments

Ask HN: As a human, are you glad the AI bubble is bursting?

4•roschdal•1h ago•4 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).