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
extern crate num;
extern crate colored;
#[macro_use]
extern crate serde_derive;
extern crate serde;
extern crate serde_json;
extern crate bincode;
extern crate memmap;
extern crate encoding;
extern crate regex;
extern crate glob;
extern crate crc;

#[macro_use]
extern crate nom;
pub mod disasm;
pub mod configuration;
#[macro_use]
pub mod log;
#[cfg(test)]
pub mod test;

pub mod arch 
{
    pub mod x86 
    {   
        #[macro_use]
        pub mod archx86;
        pub mod registersx86;
        pub mod instructionsx86;
        pub mod prefixx86;
        pub mod disasmtablesx86;
        pub mod opcodex86;
        pub mod operandx86;
        pub mod displayx86;
        pub mod cpux86;
        pub mod analyzex86;
        pub mod emulatex86;
    }
}
pub mod analysis 
{
    pub mod analyze;
    pub mod data_analyzer;
    pub mod signature_analysis;
    pub mod formats
    {
        #[macro_use]
        pub mod pe;
        pub mod peloader;
    }
}