1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//! Memory Region Cache
//!
//! Provides caching mechanisms to avoid repeated VirtualQueryEx calls
//! during multiple scans on the same process, significantly improving
//! performance.
//!
//! # Cache Management
//! - **Per-process caching**: Separate caches per process handle
//! - **Explicit invalidation**: Call clear_region_cache when memory layout changes
//! - **Thread-safe**: Uses Mutex for multi-threaded access
pub
// Note: get_valid_memory_regions is used internally by scanner, not exported publicly
pub use ;