frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Supply Chain Compromise of Korean-Language Windows 11 Installation Media

https://www.logpresso.com/en/blog/2026-09-08-windows11-report-eng
1•ledoge•6m ago•0 comments

Pangram – AI detector for text and images

https://www.pangram.com
1•doodlesdev•9m ago•0 comments

Migrating the GitHub Copilot Runtime to Rust, Using Copilot

https://github.blog/ai-and-ml/generative-ai/migrating-the-github-copilot-runtime-to-rust-using-co...
3•abraham•9m ago•1 comments

Game UI Database

https://www.gameuidatabase.com
1•andsoitis•12m ago•0 comments

Found a B2B billing stack for my agency that doesn't feel like 2010

https://cordhq.app/
1•andrevalleo•12m ago•0 comments

Pro UI: native grade components for pro software

https://pro-ui.dev/
1•handfuloflight•13m ago•0 comments

Page Shield ML caught 4 storefront malware campaigns scanners missed

https://blog.cloudflare.com/client-side-security-finds-4-malicious-campaigns/
1•iamsyr•14m ago•0 comments

Why the Postpandemic Tech Bust Sent Billionaires to Trump

https://www.wired.com/story/against-tech-oligarchy-book-excerpt-trump-billionaries/
2•jacobolus•14m ago•0 comments

Hacker puts 'full redundancy' code-hosting firm out of business (2014)

https://www.pcworld.com/article/439918/hacker-puts-full-redundancy-codehosting-firm-out-of-busine...
1•doodlesdev•18m ago•0 comments

OpenAI Discloses Six New Incidents of ‘Concerning’ A.I. Behavior

https://www.nytimes.com/2026/09/16/technology/openai-model-safety-guardrails.html
6•jbegley•20m ago•3 comments

Math challenges a 2k-year-old story about Parthenon's optical illusions

https://phys.org/news/2026-09-mathematician-year-legend-parthenon-optical.html
1•wglb•20m ago•0 comments

Could Your Chatbot Be Stealing Ideas from You?

https://www.nytimes.com/2026/09/10/science/chatbot-stealing-ideas.html
1•bookofjoe•20m ago•1 comments

Weeping whales: Stillborn humpback whale grieving documented

https://phys.org/news/2026-09-whales-stillborn-humpback-whale-grieving.html
1•wglb•21m ago•0 comments

I gave my agents a heartbeat

https://mlsystemsri.com/insights/i-gave-my-agents-a-heartbeat
1•Salparvezml•22m ago•0 comments

Will AI Replace Your Doctor? Dr. Zeke Emanuel and AMA President Dr. John Whyte

https://www.youtube.com/watch?v=WTnZ6W7qsLQ
1•shamoo•30m ago•1 comments

A Large Database Does Not Mean Large Shared_buffers

https://www.keithf4.com/a-large-database-does-not-mean-large-shared_buffers/
2•b-man•34m ago•0 comments

Size-Specialized Memory Allocation

https://go.dev/blog/size-specialized-allocations
2•spacey•36m ago•0 comments

What's Scarier Than Agents Taking over Internet? CEO Cartel Trying Take over AI

https://fractalsofchange.substack.com/p/q-whats-scarier-than-a-swarm-of-ai
6•gz5•37m ago•0 comments

AI Cheating Is on the Rise

https://www.vals.ai/blogs/cheating-on-the-rise
3•sanxiyn•39m ago•0 comments

Unplug America

https://engageq.notion.site/unplug-full
5•jethronethro•39m ago•0 comments

Suzanne Ciani's Buchla Cookbook

https://echo.orpheusinstituut.be/article/suzannes-buchla-cookbook
2•stuart78•42m ago•0 comments

OpenAI discloses six new AI safety incidents

https://www.axios.com/2026/09/16/openai-testing-safety-incidents-disclosure
9•toomuchtodo•49m ago•1 comments

The Return of Sail Power: Cargo Ships Are Turning Back to the Wind

https://gcaptain.com/the-return-of-sail-power-cargo-ships-are-turning-back-to-the-wind/
5•gumby•53m ago•0 comments

How the Strategic Petroleum Reserve Works

https://www.construction-physics.com/p/how-the-strategic-petroleum-reserve
3•sklargh•56m ago•0 comments

What Would Canada's Associate Membership of the EU Look Like?

https://www.wsj.com/world/europe/what-would-canadas-associate-membership-of-the-eu-look-like-2f65...
2•toomanyrichies•58m ago•0 comments

Cert/CC covers up Google's data retention fraud

https://medium.com/@istokovicsgyorgy79/how-cert-cc-and-googles-bots-dismissed-a-critical-data-per...
1•Bitu79•58m ago•0 comments

A dead man's switch with client-side crypto and an offline decryptor

https://etergis.com/
1•dannybcarrjr•1h ago•0 comments

Show HN: Hacker News, a little more focused

https://hn-tags.beehivesoftware.xyz/?tags=programming
1•ashish01•1h ago•0 comments

Recursive Meta-Intelligence

https://twitter.com/ProfBuehlerMIT/status/2099834306046664792
1•gmays•1h ago•0 comments

Unlocking the Brain's Potential, with Gül Dölen [video]

https://www.youtube.com/watch?v=Z1Tc64BN3Ac
1•binyu•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).