Searched refs:optional_header_offset (Results 1 – 2 of 2) sorted by relevance
204 const size_t optional_header_offset = in ValidateOptionalHeader() local210 !GetStructureAt(optional_header_offset, &optional_header_magic)) { in ValidateOptionalHeader()217 image_data_ + optional_header_offset)); in ValidateOptionalHeader()220 image_data_ + optional_header_offset)); in ValidateOptionalHeader()226 if (optional_header_size > image_size_ - optional_header_offset) in ValidateOptionalHeader()
1383 optional_header_offset = \1387 sections_offset = optional_header_offset + self.FILE_HEADER.SizeOfOptionalHeader1391 self.__data__[optional_header_offset:],1392 file_offset = optional_header_offset)1406 len(self.__data__[optional_header_offset:])1415 padded_data = self.__data__[optional_header_offset:] + (1421 file_offset = optional_header_offset)1439 self.__data__[optional_header_offset:],1440 file_offset = optional_header_offset)1450 len(self.__data__[optional_header_offset:])[all …]