Exemplo n.º 1
0
  def __init__(self, no_pruning=False):
    """Initializes a new database.

    Args:
      no_pruning: if true, process and thread information is maintained past
          process/thread end events.
    """
    EventConsumer.__init__(self)
    self._no_pruning = no_pruning
    # Processes by id maps from process ID to command line.
    self._processes_by_id = {}
    # Threads by id maps from thread ID to owning process ID.
    self._threads_by_id = {}
Exemplo n.º 2
0
 def __init__(self):
   EventConsumer.__init__(self)
   self._processes = {}
Exemplo n.º 3
0
Arquivo: file.py Projeto: L4ys/syzygy
 def __init__(self):
   EventConsumer.__init__(self)
   # Maps from file object to file name.
   self._file_objects = {}