frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

iPhone Duo Teardown – Apple's IP68 rating fails along with the display [video]

https://www.youtube.com/watch?v=_Xe2JAoMwIA
1•neya•47s ago•0 comments

Claude Code burns ~15–20% of your tokens on a 3-word status line

https://gist.github.com/flamerix-ai/c3905705cc4205e5de3011fa2e74efce
1•NikZaal•1m ago•0 comments

Mech Turk Alternatives

https://services.deepen.ai/guides/mturk-alternatives
2•mmusa•10m ago•0 comments

Tools, 17 with write access: How AI platforms bound agent authority

https://www.antalpha.com/en-us/blog/120-tools-17-that-can-write-how-four-platforms-bound-an-ai-ag...
2•Nina_antalpha•17m ago•0 comments

Quick thoughts about the new MacBook Pro

https://sixcolors.com/post/2026/10/quick-thoughts-about-the-new-macbook-pro/
1•tambourine_man•18m ago•0 comments

PS4 Dashboard Ported to Roblox

https://www.gamesradar.com/games/a-working-ps4-dashboard-was-ported-to-roblox-alongside-games-lik...
1•avaer•20m ago•0 comments

Top Dartmouth Leader Steps Down over Undisclosed A.I. Use in Writings

https://www.nytimes.com/2026/10/28/us/dartmouth-santiago-schnell-ai.html
1•osnium123•23m ago•1 comments

Soccer star Kylian Mbappé apologizes for apparent reference to Mao as a dictator

https://apnews.com/article/china-mbappe-companies-mao-zedong-837fee251df278d5657894ec226fa069
1•nonethewiser•28m ago•2 comments

AI startup hacked Anthropic, gains access to employee details, internal messages

https://www.techradar.com/pro/security/ai-startup-claims-it-hacked-anthropic-in-12-hours-gains-ac...
1•cpeterso•29m ago•1 comments

Fixing Stack Overflow's toxicity with $500

https://sadok.mx/blog/fixing-stack-overflow/
1•sadok•32m ago•0 comments

Richest 0.1% (8M) produce more carbon pollution than 3.5B

https://www.oxfam.org/en/press-releases/ultra-rich-01-produce-more-carbon-pollution-nearly-half-h...
14•botanical•33m ago•0 comments

Shown HN: mcp4api for converting OpenAPI to MCP Server

https://pypi.org/project/mcp4api
1•smusali•34m ago•0 comments

America waged war on drunk driving, now a new epidemic is taking hold

https://www.sfchronicle.com/projects/2026/drugged-driving-epidemic/
2•nozzlegear•34m ago•0 comments

Inspecting Local Data with Azure Cosmos DB Shell

https://devblogs.microsoft.com/cosmosdb/inspecting-local-data-with-azure-cosmos-db-shell/
1•greaterdela•35m ago•0 comments

Show HN: Dev Null News, a daily paper so you don't have to read every merged PR

https://dnn.sh/
1•youio•40m ago•0 comments

Zephyr RTOS 4.5 Now Available

https://www.zephyrproject.org/zephyr-rtos-4-5-now-available-two-new-architectures-multimedia-pipe...
1•voxadam•41m ago•0 comments

Scientists trap and tame a single particle of antimatter for months

https://news.northwestern.edu/stories/2026/10/scientists-trap-and-tame-a-single-particle-of-antim...
1•gmays•45m ago•1 comments

Come Back and Back AI

https://comebackandback.com/
1•HAXU4•49m ago•0 comments

QCurve – An offline Android music player with a custom C++ DSP engine

https://play.google.com/store/apps/details?id=com.qcurve.player&hl=en_US
1•codewillex•50m ago•0 comments

United Starlink Tracker

http://starlinktracker.united.com/
2•craigkerstiens•51m ago•1 comments

The Quiet Part – a lesson on AI and jobs, built and narrated by AI

https://thequietpart.ai/?src=hn
2•BlueOctave•52m ago•0 comments

Deep Learning Alchemy – Stanford CS 312

https://deep-learning-alchemy.github.io/
1•simonpure•52m ago•0 comments

Agentic CI/CD with Azure Cosmos DB: Isolated Envs for a Swarm of AI Agents

https://devblogs.microsoft.com/cosmosdb/agentic-ci-cd-with-azure-cosmos-db-isolated-environments-...
1•jaydestro•56m ago•0 comments

a

https://finance.yahoo.com/markets/article/what-robinhoods-cfo-found-interesting-about-anthropics-...
4•fascinnn•57m ago•1 comments

Epileptic woman dies after going to ChatGPT for medical advice

https://www.abc10.com/article/news/nation-world/epileptic-woman-dies-chatgpt-medical-advice-famil...
1•BrokenCogs•57m ago•1 comments

OpenAI API Credits of 100/200/500 on Pro Plans

https://help.openai.com/en/articles/20001626-api-credits-benefit-for-eligible-chatgpt-subscriptio...
1•super_linear•58m ago•0 comments

Admin

https://admin.google.com/ac/accountchooser?continue=https://admin.google.com/ac/home?hl%3Den%26ra...
1•liamhtdjyrd•1h ago•0 comments

Declaring a National Emergency to Secure the United States Bulk-Power System

https://www.whitehouse.gov/presidential-actions/2026/08/declaring-a-national-emergency-to-secure-...
1•freakynit•1h ago•1 comments

Designing a SIMD Algorithm from Scratch (2023)

https://mcyoung.xyz/2023/11/27/simd-base64/
1•davikr•1h ago•1 comments

How Big Is a Billion Dollars?

https://www.realworth.io/how-big-is-a-billion-dollars
2•gmays•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).