Searched refs:OptionalHeader (Results 1 – 13 of 13) sorted by relevance
61 class OptionalHeader {63 virtual ~OptionalHeader() {} in ~OptionalHeader()129 scoped_ptr<OptionalHeader> optional_header_;
30 class PeImageReader::OptionalHeaderImpl : public PeImageReader::OptionalHeader {205 GetDosHeader()->e_lfanew + offsetof(IMAGE_NT_HEADERS32, OptionalHeader); in ValidateOptionalHeader()214 scoped_ptr<OptionalHeader> optional_header; in ValidateOptionalHeader()265 offsetof(IMAGE_NT_HEADERS32, OptionalHeader)); in GetOptionalHeaderStart()
50 if (!nt_headers->OptionalHeader.DataDirectory[1].VirtualAddress) in ScanImportAddressTable()54 nt_headers->OptionalHeader.DataDirectory[1].VirtualAddress / in ScanImportAddressTable()
210 DWORD os = pe.GetNTHeaders()->OptionalHeader.MajorOperatingSystemVersion; in TEST()211 os = os * 10 + pe.GetNTHeaders()->OptionalHeader.MinorOperatingSystemVersion; in TEST()
104 return nt_headers->OptionalHeader.DataDirectory[directory].Size; in GetImageDirectoryEntrySize()111 nt_headers->OptionalHeader.DataDirectory[directory].VirtualAddress); in GetImageDirectoryEntryAddr()516 if (nt_headers->OptionalHeader.Magic != IMAGE_NT_OPTIONAL_HDR_MAGIC) in VerifyMagic()
146 if (headers->OptionalHeader.AddressOfEntryPoint) in SafeGetImageInfo()148 if (headers->OptionalHeader.SizeOfCode) in SafeGetImageInfo()
245 &headers[nt_headers_start])->OptionalHeader.SizeOfHeaders; in PartialPreReadImageOnDisk()388 static_cast<size_t>(nt_headers->OptionalHeader.SizeOfImage)); in PreReadImage()
382 if (headers->OptionalHeader.AddressOfEntryPoint) in GetImageInfoFromModule()384 if (headers->OptionalHeader.SizeOfCode) in GetImageInfoFromModule()
60 nt_header->OptionalHeader.AddressOfEntryPoint; in GetBaseAddress()
212 IMAGE_OPTIONAL_HEADER OptionalHeader; /* 0x18 */ member236 ((PIMAGE_SECTION_HEADER)((LPunsigned char)&((PIMAGE_NT_HEADERS)(ntheader))->OptionalHeader + \2213 + OFFSET_OF(IMAGE_NT_HEADERS, OptionalHeader) in ML_()2225 + OFFSET_OF(IMAGE_NT_HEADERS, OptionalHeader) in ML_()
754 hinstDLL!=(HINSTANCE)(nt_headers->OptionalHeader.ImageBase)) in DllMain()
768 hinstDLL!=(HINSTANCE)(nt_headers->OptionalHeader.ImageBase)) in DllMain()
380 if (image.GetNTHeaders()->OptionalHeader.Magic == in UpdateVersionIfMatch()