Expand description
Advanced type analysis framework Advanced type analysis framework for complex Rust types
This module provides a unified framework for analyzing complex Rust types like Cell, RefCell, Mutex, RwLock, channels, etc. Instead of implementing each type individually, we identify common patterns and provide a generic analysis framework.
Structs§
- Advanced
Type Analysis Report - Analysis results for all advanced types in an allocation set
- Advanced
Type Info - Advanced type analysis information
- Advanced
Type Statistics - Statistics for advanced type usage
- Borrow
Violation - Borrow violation
- Cell
Instance - Cell instance
- Channel
State Info - Channel-specific state information
- Concurrency
Primitive Report - Concurrency primitive report
- Condvar
Instance - Condvar instance
- Generic
Advanced Type Analyzer - Generic analyzer that can handle most advanced types through pattern matching
- Interior
Mutability Report - Interior mutability report
- Lock
Contention - Lock contention
- Mutex
Instance - Mutex instance
- Performance
Info - Performance characteristics
- Performance
Summary - Performance summary across all advanced types
- RefCell
Instance - RefCell instance
- RwLock
Instance - RwLock instance
- Type
Behavior Pattern - Behavioral patterns that advanced types exhibit
- Type
Issue - Potential issues with advanced types
- Type
State Info - Current state of the advanced type
- Unsafe
Cell Instance - UnsafeCell instance
Enums§
- Advanced
Type Category - Categories of advanced Rust types based on their memory and concurrency characteristics
- Borrow
Violation Type - Borrow violation type
- Contention
Type - Contention type
- Issue
Severity - Severity levels for type issues
- Latency
Category - Latency categories for operations
Traits§
- Advanced
Type Analyzer - Trait for advanced type analysis
Functions§
- analyze_
advanced_ types - Analyze all advanced types in a set of allocations
- analyze_
type - Analyze a type and create AdvancedTypeInfo
- create_
behavior_ pattern - Create behavior pattern for a type
- detect_
interior_ mutability_ patterns - Enhanced interior mutability detection for Cell/RefCell types
- get_
type_ category - Analyze a type and return its category
- is_
advanced_ type - Check if a type name represents an advanced type we should analyze
- monitor_
concurrency_ primitives - Enhanced concurrency primitive monitoring for Mutex/RwLock types