procmod_core/module.rs
1/// A loaded module (shared library, executable, or dylib) in a process.
2#[derive(Debug, Clone)]
3pub struct Module {
4 /// Module file name (e.g., "libfoo.so").
5 pub name: String,
6
7 /// Base address where the module is loaded.
8 pub base: usize,
9
10 /// Size of the module in memory (bytes).
11 pub size: usize,
12
13 /// Full file path on disk.
14 pub path: String,
15}