Searched refs:optional_header (Results 1 – 3 of 3) sorted by relevance
/external/chromium_org/courgette/ |
D | disassembler_win32_x86.cc | 91 const uint8* const optional_header = coff_header + kSizeOfCoffHeader; in ParseHeader() local 92 optional_header_ = optional_header; in ParseHeader() 94 if (optional_header + size_of_optional_header_ >= end()) in ParseHeader() 101 uint16 magic = ReadU16(optional_header, 0); in ParseHeader() 125 size_of_code_ = ReadU32(optional_header, 4); in ParseHeader() 126 size_of_initialized_data_ = ReadU32(optional_header, 8); in ParseHeader() 127 size_of_uninitialized_data_ = ReadU32(optional_header, 12); in ParseHeader() 128 base_of_code_ = ReadU32(optional_header, 20); in ParseHeader() 131 image_base_ = ReadU64(optional_header, 24); in ParseHeader() 133 base_of_data_ = ReadU32(optional_header, 24); in ParseHeader() [all …]
|
D | disassembler_win32_x64.cc | 91 const uint8* const optional_header = coff_header + kSizeOfCoffHeader; in ParseHeader() local 92 optional_header_ = optional_header; in ParseHeader() 94 if (optional_header + size_of_optional_header_ >= end()) in ParseHeader() 101 uint16 magic = ReadU16(optional_header, 0); in ParseHeader() 125 size_of_code_ = ReadU32(optional_header, 4); in ParseHeader() 126 size_of_initialized_data_ = ReadU32(optional_header, 8); in ParseHeader() 127 size_of_uninitialized_data_ = ReadU32(optional_header, 12); in ParseHeader() 128 base_of_code_ = ReadU32(optional_header, 20); in ParseHeader() 131 image_base_ = ReadU64(optional_header, 24); in ParseHeader() 133 base_of_data_ = ReadU32(optional_header, 24); in ParseHeader() [all …]
|
/external/chromium_org/chrome/browser/safe_browsing/ |
D | pe_image_reader_win.cc | 214 scoped_ptr<OptionalHeader> optional_header; in ValidateOptionalHeader() local 216 optional_header.reset(new OptionalHeaderImpl<IMAGE_OPTIONAL_HEADER32>( in ValidateOptionalHeader() 219 optional_header.reset(new OptionalHeaderImpl<IMAGE_OPTIONAL_HEADER64>( in ValidateOptionalHeader() 230 if (optional_header->GetDataDirectoryOffset() > optional_header_size) in ValidateOptionalHeader() 234 if (optional_header->GetDataDirectorySize() > in ValidateOptionalHeader() 235 ((optional_header_size - optional_header->GetDataDirectoryOffset()) / in ValidateOptionalHeader() 240 optional_header_.swap(optional_header); in ValidateOptionalHeader()
|