def DetectExecutablePaths(source_values, vars_map=None):
 detector = CreateWindowsRegistryExecutablePathsDetector(vars_map=vars_map)
 for source_value in source_values:
  for result in detector.Detect(source_value):
   (yield result)

def DetectExecutablePaths ( source_values , vars_map = None ) : detector = CreateWindowsRegistryExecutablePathsDetector ( vars_map = vars_map ) for source_value in source_values : for result in detector . Detect ( source_value ) : ( yield result )
detects paths in a list of windows registry strings .