Lines Matching refs:pe
51 pe = pefile.PE(path, fast_load=True)
52 pe.parse_data_directories(directories=[
58 if pe.OPTIONAL_HEADER.DllCharacteristics & DYNAMICBASE_FLAG:
66 if pe.OPTIONAL_HEADER.DllCharacteristics & NXCOMPAT_FLAG:
81 if (pe.OPTIONAL_HEADER.DllCharacteristics & NO_SEH_FLAG or
82 (hasattr(pe, "DIRECTORY_ENTRY_LOAD_CONFIG") and
83 pe.DIRECTORY_ENTRY_LOAD_CONFIG.struct.SEHandlerCount > 0 and
84 pe.DIRECTORY_ENTRY_LOAD_CONFIG.struct.SEHandlerTable != 0) or
85 pe.FILE_HEADER.Machine == MACHINE_TYPE_AMD64):
94 if pe.FILE_HEADER.Machine == MACHINE_TYPE_AMD64:
95 if pe.OPTIONAL_HEADER.ImageBase <= 0xFFFFFFFF:
97 (path, pe.OPTIONAL_HEADER.ImageBase))
101 (path, pe.OPTIONAL_HEADER.ImageBase))