//! Phase 9: dead code detection via reachability on the call graph.
use Result;
use crateQuery;
use crateStore;
/// Compute and record dead (unreachable) functions. Uses reachability from
/// entry points (functions with no incoming call edge). Persists results to
/// the `dead_functions` relation for MCP/CLI queries.
///
/// # Errors
/// Fails if reachability analysis or graph update fails.