def do_vdb(self, line): ''' Execute vdb GUI from within vivisect (allowing special hooks between them...) (Optionally, specify a host to use for remote vdb debugging) Usage: vdb [<remote_host>] ''' if line: try: socket.gethostbyname(line) except Exception: self.vprint('Invalid Remote Host: %s' % line) vtrace.remote = line import vivisect.vdbext as viv_vdbext viv_vdbext.runVdb(self._viv_gui)
def do_vdb(self, line): ''' Execute vdb GUI from within vivisect (allowing special hooks between them...) (Optionally, specify a host to use for remote vdb debugging) Usage: vdb [<remote_host>] ''' if line: try: socket.gethostbyname(line) except Exception as e: self.vprint('Invalid Remote Host: %s' % line) vtrace.remote = line import vivisect.vdbext as viv_vdbext viv_vdbext.runVdb(self._viv_gui)
if not line: return self.do_help("vampsig") va = self.parseExpression(line) fva = self.getFunction(va) if fva == None: self.vprint("Invalid Function Address: 0x%.8x (%s)" % (va, line)) sig,mask = viv_vamp.genSigAndMask(self, fva) self.vprint("SIGNATURE: %s" % sig.encode("hex")) self.vprint("MASK: %s" % mask.encode("hex")) def do_vdb(self, line): ''' Execute vdb GUI from within vivisect (allowing special hooks between them...) (Optionally, specify a host to use for remote vdb debugging) Usage: vdb [<remote_host>] ''' if line: try: socket.gethostbyname(line) except Exception, e: self.vprint('Invalid Remote Host: %s' % line) vtrace.remote = line import vivisect.vdbext as viv_vdbext viv_vdbext.runVdb(self._viv_gui)
def _menuToolsDebug(self): viv_vdbext.runVdb(self)
def _menuToolsDebug(self): viv_vdbext.runVdb(self)