def PE_Machine(self):
if self.pe:
machinetype = self.pedict['FILE_HEADER']['Machine']['Value']
mt = {'0x14c': 'x86', '0x0200': 'Itanium', '0x8664': 'x64'}
if type(machinetype) is int:
return mt[str(hex(machinetype))]
else:
return str(machinetype) + ' => Not x86/64 or Itanium'
# PE:Entry Point #
评论列表
文章目录