Exemple #1
0
 def __init__(self, debug=False):
     '''Build stack, memory, and instruction set'''
     self.stack = []
     self.memory = []
     self.pc = 0
     self.build()
     Debuggable.__init__(self, "[VM]", debug)
Exemple #2
0
 def __init__(self, debug=False):
     Debuggable.__init__(self, "[ASM]", debug)
Exemple #3
0
    def do_debuggable(self, _args):
        """
Interact with debuggable applications
        """
        subconsole = Debuggable(self.session)
        subconsole.cmdloop()