parameters: (self, pid, process_name, stream)
docstring: Dump useful information to the console
docstring_summary: Dump useful information to the console
docstring_tokens: Dump useful information to the console
function: def dump_info(self, pid, process_name, stream):
          """Dump useful information to the console"""
          dbg = self.__find_debugger()
  
          if dbg is None:
              stream.write("WARNING: Debugger cdb.exe not found, skipping dumping of %d\n" % (pid))
              return
  
          stream.write("INFO: Debugger %s, analyzing %d\n" % (dbg, pid))
  
          cmds = [
              ".symfix",  # Fixup symbol path
              ".reload",  # Reload symbols
              "!peb",     # Dump current exe, & environment variables
              "lm",       # Dump loaded modules
              "~* k 100", # Dump All Threads
              ".dump /ma /u dump_" + process_name + ".mdmp",
                          # Dump to file, dump_<process name>_<time stamp>_<pid in hex>.mdmp
              ".detach",  # Detach
              "q"         # Quit
              ]
  
          call([dbg, '-c', ";".join(cmds), '-p', str(pid)])
  
          stream.write("INFO: Done analyzing process\n")
function_tokens: def dump_info ( self , pid , process_name , stream ) : dbg = self . __find_debugger ( ) if dbg is None : stream . write ( "WARNING: Debugger cdb.exe not found, skipping dumping of %d\n" % ( pid ) ) return stream . write ( "INFO: Debugger %s, analyzing %d\n" % ( dbg , pid ) ) cmds = [ ".symfix" , # Fixup symbol path ".reload" , # Reload symbols "!peb" , # Dump current exe, & environment variables "lm" , # Dump loaded modules "~* k 100" , # Dump All Threads ".dump /ma /u dump_" + process_name + ".mdmp" , # Dump to file, dump_<process name>_<time stamp>_<pid in hex>.mdmp ".detach" , # Detach "q" # Quit ] call ( [ dbg , '-c' , ";" . join ( cmds ) , '-p' , str ( pid ) ] ) stream . write ( "INFO: Done analyzing process\n" )