code: def _add_module(self, aModule):
          
  ##        if not isinstance(aModule, Module):
  ##            if hasattr(aModule, '__class__'):
  ##                typename = aModule.__class__.__name__
  ##            else:
  ##                typename = str(type(aModule))
  ##            msg = "Expected Module, got %s instead" % typename
  ##            raise TypeError(msg)
          lpBaseOfDll = aModule.get_base()
  ##        if lpBaseOfDll in self.__moduleDict:
  ##            msg = "Module already exists: %d" % lpBaseOfDll
  ##            raise KeyError(msg)
          aModule.set_process(self)
          self.__moduleDict[lpBaseOfDll] = aModule
docs: Private method to add a module object to the snapshot.
  
          @type  aModule: L{Module}
          @param aModule: Module object.