docs: def DetectExecutablePaths(source_values, vars_map=None):
    """Detects paths in a list of Windows Registry strings.
  
    Args:
      source_values: A list of strings to detect paths in.
      vars_map: Dictionary of "string" -> "string|list", i.e. a mapping of
            environment variables names to their suggested values or to lists
            of their suggested values.
  
    Yields:
      A list of detected paths (as strings).
    """
    detector = CreateWindowsRegistryExecutablePathsDetector(vars_map=vars_map)
  
    for source_value in source_values:
      for result in detector.Detect(source_value):
        yield result