def __init__(self, data): FileAnalysis.__init__(self, data) # self.data = data self.pe = None try: self.pe = pefile.PE(data=data) except pefile.PEFormatError as e: print_error("Unable to parse PE file: {0}".format(e))
def __init__(self, data): FileAnalysis.__init__(self, data) self.data = data