1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#![recursion_limit = "128"]
#[cfg(feature = "serde")]
#[macro_use]
extern crate serde;
#[cfg(feature = "data-encoding")]
extern crate data_encoding;
#[macro_use]
pub mod util;
pub mod image;
pub mod stringify;
pub mod pattern;
mod error;
pub use self::error::{Error, Result};
#[cfg(feature = "mmap")]
mod mmap;
#[cfg(all(feature = "mmap", windows))]
pub use self::mmap::{FileMap, ImageMap};
#[cfg(all(feature = "mmap", unix))]
pub use self::mmap::{FileMap};
pub mod pe64;
pub mod pe32;
mod pefile;
pub use self::pefile::PeFile;
#[cfg(all(windows, target_pointer_width = "32"))]
pub use pe32 as pe;
#[cfg(all(windows, target_pointer_width = "64"))]
pub use pe64 as pe;
pub mod resources;
#[cfg(test)]
mod tests;