Searched refs:pe_offset (Results 1 – 3 of 3) sorted by relevance
70 DWORD pe_offset, opt_offset; local83 pe_offset = DWORD_AT(dllbase + 0x3C);86 if (memcmp(dllbase+pe_offset,"PE\0\0",4)) {102 opt_offset = pe_offset + 4 + 20;
59 DWORD pe_offset, opt_offset; local72 pe_offset = DWORD_AT(dllbase + 0x3C);75 if (memcmp(dllbase+pe_offset,"PE\0\0",4)) {91 opt_offset = pe_offset + 4 + 20;
662 pe_offset = struct.unpack("<i", header[0x3c:0x40])[0]663 assert header[pe_offset:pe_offset+4] == "PE\0\0"664 machine = struct.unpack("<H", header[pe_offset+4:pe_offset+6])[0]