# Microsoft and Open Device Partnership build a tool that finds every hidden panic in your Rust binary

Original title: Finding Panics with Call Graph Analyzer

> Hacker News story 50273504 · language: en · submitted 2026-10-28
> Web version: https://zeli.app/story/50273504
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 71 · by [ndr](<https://news.ycombinator.com/user?id=ndr>) · 💬 3
[original](<https://tweedegolf.nl/en/blog/242/finding-panics-with-call-graph-analyzer/>) · [HN discussion](<https://news.ycombinator.com/item?id=50273504>)

## Summary

Tweede golf, under the Open Device Partnership and with Microsoft, released the Call Graph Analyzer (CGA), a rustc-driver that extracts a call graph from monomorphized MIR to pinpoint every function in a compiled binary that can panic. Unlike linker-based or debug-info tools, it sees dependency and standard-library panics before optimization, at the cost of 2–3x slower builds and some false positives. Running `cargo cga check` flags panicking calls like `strict_sub` with exact source locations.

## Key quote

> However striving for zero panics is very hard and quite foolish: code is rarely void of assumptions.

---

## Cite

- Page: https://zeli.app/story/50273504
- Date: 2026-10-28
- Source: tweedegolf.nl (https://tweedegolf.nl/en/blog/242/finding-panics-with-call-graph-analyzer/)
- Hacker News: https://news.ycombinator.com/item?id=50273504

## Other languages

- zh: https://zeli.app/zh/story/50273504 · markdown: https://zeli.app/zh/story/50273504.md
- ja: https://zeli.app/ja/story/50273504 · markdown: https://zeli.app/ja/story/50273504.md
- ko: https://zeli.app/ko/story/50273504 · markdown: https://zeli.app/ko/story/50273504.md
- de: https://zeli.app/de/story/50273504 · markdown: https://zeli.app/de/story/50273504.md
- es: https://zeli.app/es/story/50273504 · markdown: https://zeli.app/es/story/50273504.md
- ru: https://zeli.app/ru/story/50273504 · markdown: https://zeli.app/ru/story/50273504.md
