Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#![allow(non_camel_case_types)]

pub use crate::images::*;

pub type IMAGE_NT_HEADERS = IMAGE_NT_HEADERS32;
pub type IMAGE_OPTIONAL_HEADER = IMAGE_OPTIONAL_HEADER32;

/// Relative virtual address type, these are all offsets from the base of the mapped image in memory.
pub type Rva = u32;
/// Virtual address type, absolute address as known by the image. Not always the same as a pointer.
/// x64 中 Va 是 u64 类型的
pub type Va = u32;