exec-pe-core 0.2.0

PE (Portable Executable) binary format parser for forensic analysis
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Error types for pe-core.

/// Errors returned by [`crate::parse_pe`].
#[derive(Debug, thiserror::Error)]
pub enum PeError {
    #[error("not a PE file: missing or invalid MZ/PE signature")]
    NotPe,
    #[error("PE structure error: {0}")]
    Structure(String),
    #[error("I/O error: {0}")]
    Io(#[from] std::io::Error),
}