All Data Structures Files Functions Variables Enumerations Enumerator Macros Groups
cli_pe_hook_data Struct Reference

Data Fields

uint32_t ep
 
uint16_t nsections
 
struct pe_image_file_hdr file_hdr
 
struct pe_image_optional_hdr32 opt32
 
struct pe_image_optional_hdr64 opt64
 
struct pe_image_data_dir dirs [16]
 
uint32_t e_lfanew
 
uint32_t overlays
 
int32_t overlays_sz
 
uint32_t hdr_size
 

Detailed Description

Data for the bytecode PE hook

Field Documentation

struct pe_image_data_dir dirs[16]

PE data directory header

uint32_t e_lfanew

address of new exe header

uint32_t ep

EntryPoint as file offset

struct pe_image_file_hdr file_hdr

Header for this PE file

uint32_t hdr_size

internally needed by rawaddr

uint16_t nsections

Number of sections

32-bit PE optional header

64-bit PE optional header

uint32_t overlays

number of overlays

int32_t overlays_sz

size of overlays