Skip to main content

memscope_rs/analyzer/
mod.rs

1//! Analyzer Module - Unified analysis entry point.
2//!
3//! This module provides the Analyzer which serves as the single entry
4//! point for all memory analysis operations. It integrates all analysis
5//! modules through a structured interface.
6
7mod classify;
8mod core;
9mod detect;
10mod export;
11mod graph;
12mod metrics;
13mod report;
14mod safety;
15mod timeline;
16
17pub use classify::{
18    ClassificationAnalysis, ClassificationSummary, TypeCategory, TypeClassification,
19};
20pub use core::Analyzer;
21pub use detect::DetectionAnalysis;
22pub use export::ExportEngine;
23pub use graph::{GraphAnalysis, OwnershipStats, RelationshipEdge, RelationshipStats};
24pub use metrics::MetricsAnalysis;
25pub use report::{AnalysisReport, CycleInfo, CycleReport, LeakInfo, LeakReport, MetricsReport};
26pub use safety::{SafetyAnalysis, SafetySummary};
27pub use timeline::TimelineAnalysis;
28
29// Re-export Relation type for convenience
30pub use crate::analysis::relation_inference::Relation;