Struct minidump_processor::ProcessState
source · pub struct ProcessState {Show 19 fields
pub process_id: Option<u32>,
pub time: SystemTime,
pub process_create_time: Option<SystemTime>,
pub cert_info: HashMap<String, String>,
pub exception_info: Option<ExceptionInfo>,
pub assertion: Option<String>,
pub requesting_thread: Option<usize>,
pub threads: Vec<CallStack>,
pub system_info: SystemInfo,
pub linux_standard_base: Option<LinuxStandardBase>,
pub linux_proc_limits: Option<LinuxProcLimits>,
pub mac_crash_info: Option<Vec<RawMacCrashInfo>>,
pub mac_boot_args: Option<MinidumpMacBootargs>,
pub modules: MinidumpModuleList,
pub unloaded_modules: MinidumpUnloadedModuleList,
pub handles: Option<MinidumpHandleDataStream>,
pub unknown_streams: Vec<MinidumpUnknownStream>,
pub unimplemented_streams: Vec<MinidumpUnimplementedStream>,
pub symbol_stats: HashMap<String, SymbolStats>,
}
Expand description
The state of a process as recorded by a Minidump
.
Fields§
§process_id: Option<u32>
The PID of the process.
time: SystemTime
When the minidump was written.
process_create_time: Option<SystemTime>
When the process started, if available
cert_info: HashMap<String, String>
Known code signing certificates (module name => cert name)
exception_info: Option<ExceptionInfo>
Info about the exception that triggered the dump (if one did)
assertion: Option<String>
A string describing an assertion that was hit, if present.
requesting_thread: Option<usize>
The index of the thread that requested a dump be written.
If a dump was produced as a result of a crash, this
will point to the thread that crashed. If the dump was produced as
by user code without crashing, and the dump contains extended Breakpad
information, this will point to the thread that requested the dump.
If the dump was not produced as a result of an exception and no
extended Breakpad information is present, this field will be
None
.
threads: Vec<CallStack>
Stacks for each thread (except possibly the exception handler thread) at the time of the crash.
system_info: SystemInfo
Information about the system on which the minidump was written.
linux_standard_base: Option<LinuxStandardBase>
Linux Standard Base Info
linux_proc_limits: Option<LinuxProcLimits>
Linux Proc Limits
mac_crash_info: Option<Vec<RawMacCrashInfo>>
§mac_boot_args: Option<MinidumpMacBootargs>
§modules: MinidumpModuleList
The modules that were loaded into the process represented by the
ProcessState
.
unloaded_modules: MinidumpUnloadedModuleList
§handles: Option<MinidumpHandleDataStream>
§unknown_streams: Vec<MinidumpUnknownStream>
§unimplemented_streams: Vec<MinidumpUnimplementedStream>
§symbol_stats: HashMap<String, SymbolStats>
Implementations§
source§impl ProcessState
impl ProcessState
sourcepub fn print<T: Write>(&self, f: &mut T) -> Result<()>
pub fn print<T: Write>(&self, f: &mut T) -> Result<()>
Write a human-readable description of the process state to f
.
This is very verbose, it implements the output format used by minidump_stackwalk.
Trait Implementations§
source§impl Clone for ProcessState
impl Clone for ProcessState
source§fn clone(&self) -> ProcessState
fn clone(&self) -> ProcessState
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more