Searched refs:FileHeader (Results 1 – 3 of 3) sorted by relevance
98 struct CoffFileHeader FileHeader; member123 pe->FileHeader.Machine == TARGET_MACHINE_TYPE && in verify_pe()124 pe->FileHeader.NumberOfSections > 0 && in verify_pe()125 pe->FileHeader.NumberOfSections <= MAX_SECTIONS && in verify_pe()132 …return dos->ExeHeader + offsetof(struct PeFileHeader, OptionalHeader) + pe->FileHeader.SizeOfOptio… in section_table_offset()214 locate_sections((struct PeSectionHeader*)&base[offset], pe->FileHeader.NumberOfSections, in pe_memory_locate_sections()261 section_table_len = pe.FileHeader.NumberOfSections * sizeof(struct PeSectionHeader); in pe_file_locate_sections()277 locate_sections(section_table, pe.FileHeader.NumberOfSections, in pe_file_locate_sections()
44 struct PeFileHeader FileHeader; member
577 size_t n_sections = unaligned_read_le16(&pe.FileHeader.NumberOfSections); in find_sections()587 start + sizeof(pe) + unaligned_read_le16(&pe.FileHeader.SizeOfOptionalHeader)); in find_sections()