binlex
binlex::Pe Class Reference

Public Member Functions

bool Setup (int input_mode)
 
bool ReadFile (char *file_path)
 

Public Attributes

char magic_mz [2] = {0x5a, 0x4d}
 
char magic_pe [4] = {0x00, 0x00, 0x45, 0x50}
 
FILE * fd = NULL
 
PIMAGE_DOS_HEADER dos_header = NULL
 
PIMAGE_COFF_HEADER coff_header = NULL
 
uint32_t pe_header_ptr = 0
 
PIMAGE_OPTIONAL_HEADER_32 optional_header_32 = NULL
 
PIMAGE_OPTIONAL_HEADER_64 optional_header_64 = NULL
 
PIMAGE_SECTION_HEADER section_header = NULL
 
int mode = PE_MODE_UNSET
 
struct Section sections [PE_MAX_SECTIONS]
 

The documentation for this class was generated from the following file: