memexec 0.2.0

A library for loading and executing PE (Portable Executable) from memory without ever touching the disk
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[derive(Debug)]
pub enum Error {
    InvalidDosSignature,
    InvalidNtHeaderOffset,
    InvalidNtSignature,
    UnsupportedMachine,
    InvalidFileHeaderCharacteristics,
    InvalidOptionalHeaderMagic,
}

pub type Result<T> = std::result::Result<T, Error>;