1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
mod db;
/// All non-OS error codes that can be emitted upon loading a module
pub mod error;
#[cfg(target_os = "windows")]
mod map;
mod offsets;
#[cfg(target_os = "windows")]
/// The portable executable mapper
pub mod pe;
#[cfg(target_os = "windows")]
mod primitives;
/// The necessary parts to run a PDB offset server
pub mod server;
#[cfg(target_os = "windows")]
mod util;

#[cfg(target_os = "windows")]
/// Exported for simple uses
pub use pe::{NtContext, PortableExecutable};