🧠 MemScope Memory Analysis

{{title}} | {{export_timestamp}}
{{os_name}} | {{architecture}} | {{cpu_cores}} cores
{{health_score}}
πŸ›‘οΈ Health Score
{{health_status}}
{{total_allocations}}
πŸ“¦ Allocations
{{total_memory}}
πŸ’Ύ Memory
{{peak_memory}}
πŸ“ˆ Peak
{{leak_count}}
πŸ”΄ Leaks
{{passport_count}}
πŸ›‚ Passports
{{unsafe_count}}
⚠️ Unsafe
{{ffi_count}}
πŸ”— FFI Calls

🎯 Quick Health Dashboard

Analyzing... Last Updated: {{export_timestamp}}
{{health_score}}
πŸ›‘οΈ Health
βœ…
{{leak_count}}
πŸ”΄ Leaks
⚠️
0
🟒 Active Tasks
⚑
{{unsafe_count}}
⚠️ Unsafe
⚑
{{ffi_count}}
πŸ”— FFI
🌐
{{passport_count}}
πŸ›‚ Passports
πŸ“‹

πŸ”¬ Auto Diagnosis

Analysis Complete

πŸ›‘οΈ Memory Safety Analysis

{{safe_code_percent}}% Safe
βœ…
Safe Operations
{{safe_ops_count}}
⚑
Rust-FFI Crossings
{{ffi_count}}
🚨
Potential Issues
{{high_risk_count}}

πŸ“Š Type Intelligence

Automatic type inference with confidence scores

πŸ“‹ Active Allocations

0 items
Address Variable Type Size Source Thread Lifetime Status

🧡 Thread Activity Dashboard

0 threads
πŸ“Š
Real-time Thread Activity
Monitor memory allocation patterns across all threads. Each bar represents memory activity over time.
🟒 Active Threads
0
πŸ’Ύ Total Memory
0 B
πŸ”οΈ Peak Memory
0 B
πŸ“¦ Total Allocs
0

πŸ”₯ Thread Memory Heatmap

πŸ“… Thread Activity Timeline

πŸ“Š Memory Distribution

πŸ“‹ Thread Details

Thread ID Summary Allocations Current Memory Peak Memory Status

⚑ Async Task Dashboard

0 tasks
0
🟒 Active Tasks
0
βœ… Completed
0
⚠️ Potential Leaks
0%
πŸ“Š Avg Efficiency
0 B
πŸ’Ύ Total Memory
0ms
⏱️ Avg Duration

πŸ“… Task Execution Timeline

πŸ”₯ Resource Consumption Heatmap

πŸ“Š Task Performance Analysis

🎯 Task Details

🌳 Task Relationship Graph

0 tasks
🌳
Task Hierarchy Visualization
Click on a task to see its memory usage β€’ Tree view shows parent-child relationships
🌳
No Task Data Available
Task tracking requires integration with TaskIdRegistry. Use the API to spawn tasks and track memory allocations per task.

πŸ”— Variable Relationship Graph

0 relationships
πŸ•ΈοΈ
Ownership & Borrowing Visualization
Drag nodes to explore β€’ Red dashed lines = circular references β€’ Node size = allocation size
Owner/Clone
Immutable &
Mutable &mut
Arc/Rc
Variable Evolution
Circular Ref

πŸ“‹ Relationship List

0 relationships
Source Target Relationship Type Strength

πŸ›‚ Memory Passportβ„’

0 passports
πŸ’‘
What is Memory Passport?
Every memory allocation gets a "passport" that tracks its entire lifecycle - from birth to death. Like a visa, it records every border crossing between Rust and FFI, detecting potential leaks before they happen.
βœ… Clean
{{clean_passport_count}}
⚑ Active
{{active_passport_count}}
🚨 Leaked
{{leaked_passport_count}}
πŸ”— FFI Tracked
{{ffi_tracked_count}}
πŸ”΄ High Risk
0
🟑 Medium Risk
0
🟒 Low Risk
0
Click to expand each passport for details
Timeline of passport events

βͺ Time Travel Debugging

Interactive Timeline
🎯
Time Travel Debugging
Navigate through memory events like a time machine. Use the slider to explore allocation history.
πŸ“¦ Total Events
0
🟒 Active
0
βœ… Freed
0
🚨 Leaked
0

πŸ“ˆ Allocation Timeline

πŸ” Event Browser

Address Variable Size Source Lifetime Status Action

πŸ›‘οΈ Memory Safety Guardian

0 issues
πŸ”’
Rust's Promise: Memory Safety
Track every unsafe block and FFI call. Know exactly where your code steps outside Rust's safety guarantees.
Safety Score
100%
βœ… Safe Code
{{safe_code_percent}}%
⚠️ Unsafe Blocks
{{unsafe_count}}
πŸ”— FFI Calls
{{ffi_count}}
🚨 Critical
{{high_risk_count}}

πŸ”₯ Risk Heatmap

πŸ”€ Cross-Boundary Trace

0 events
VISA Flow: Track memory as it crosses between Rust ↔ FFI boundaries. Each crossing is logged like a visa stamp.
πŸ¦€
Rust
Safe Zone
No boundary events
🌐
FFI
External

πŸ“Š Risk Distribution

🎯 Risk Assessment

πŸ”„ Memory Lifecycle Flow

0 flows

🚨 High Risk Operations

πŸ“‹ FFI Boundary Events

Type From To Timestamp Direction