Searched refs:PEHeaderOffset (Results 1 – 2 of 2) sorted by relevance
58 unsigned long PEHeaderOffset = (long)buffer[OFFSET_PE_OFFSET]; in normalize_pe_image() local59 if (PEHeaderOffset < nBufferSize-4) in normalize_pe_image()61 if ( buffer[PEHeaderOffset+0] == sal_uInt8('P') && in normalize_pe_image()62 buffer[PEHeaderOffset+1] == sal_uInt8('E') && in normalize_pe_image()63 buffer[PEHeaderOffset+2] == 0 && in normalize_pe_image()64 buffer[PEHeaderOffset+3] == 0 ) in normalize_pe_image()66 PEHeaderOffset += PE_SIGNATURE_SIZE; in normalize_pe_image()72 buffer[PEHeaderOffset+OFFSET_COFF_TIMEDATESTAMP+0] = 0; in normalize_pe_image()73 buffer[PEHeaderOffset+OFFSET_COFF_TIMEDATESTAMP+1] = 0; in normalize_pe_image()74 buffer[PEHeaderOffset+OFFSET_COFF_TIMEDATESTAMP+2] = 0; in normalize_pe_image()[all …]
1577 unsigned long PEHeaderOffset = (long)buffer[OFFSET_PE_OFFSET]; in normalize_pe_image() local1578 if (PEHeaderOffset < nBufferSize-4) in normalize_pe_image()1580 if ( buffer[PEHeaderOffset] == 'P' && in normalize_pe_image()1581 buffer[PEHeaderOffset+1] == 'E' && in normalize_pe_image()1582 buffer[PEHeaderOffset+2] == 0 && in normalize_pe_image()1583 buffer[PEHeaderOffset+3] == 0 ) in normalize_pe_image()1585 PEHeaderOffset += PE_SIGNATURE_SIZE; in normalize_pe_image()1591 buffer[PEHeaderOffset+OFFSET_COFF_TIMEDATESTAMP] = 0; in normalize_pe_image()1592 buffer[PEHeaderOffset+OFFSET_COFF_TIMEDATESTAMP+1] = 0; in normalize_pe_image()1593 buffer[PEHeaderOffset+OFFSET_COFF_TIMEDATESTAMP+2] = 0; in normalize_pe_image()[all …]
Completed in 25 milliseconds