def __init__(self): ArmModule.__init__(self) self.coprocs = [CoProcEmulator() for x in xrange(16)] # FIXME: this should be None's, and added in for each real coproc... but this will work for now. seglist = [ (0,0xffffffff) for x in xrange(6) ] envi.Emulator.__init__(self, segs=seglist) ArmRegisterContext.__init__(self) self.addCallingConvention("Arm Arch Procedure Call", aapcs)
def __init__(self): ArmModule.__init__(self) # FIXME: this should be None's, and added in for each real coproc... but this will work for now. self.coprocs = [CoProcEmulator(x) for x in range(16)] self.int_handlers = [self.default_int_handler for x in range(100)] seglist = [(0, 0xffffffff) for x in range(6)] envi.Emulator.__init__(self, ArmModule()) ArmRegisterContext.__init__(self) self.addCallingConvention("armcall", aapcs)
def __init__(self): ArmModule.__init__(self, name='thumb16') self._arch_dis = th_disasm.Thumb16Disasm()