code: def find_vulnerabilities_in_cfg(
      cfg,
      definitions,
      lattice,
      blackbox_mapping,
      vulnerabilities_list,
      interactive,
      nosec_lines
  ):
      
      triggers = identify_triggers(
          cfg,
          definitions.sources,
          definitions.sinks,
          lattice,
          nosec_lines[cfg.filename]
      )
      for sink in triggers.sinks:
          for source in triggers.sources:
              vulnerability, interactive = get_vulnerability(
                  source,
                  sink,
                  triggers,
                  lattice,
                  cfg,
                  interactive,
                  blackbox_mapping
              )
              if vulnerability:
                  vulnerabilities_list.append(vulnerability)
docs: Find vulnerabilities in a cfg.
  
      Args:
          cfg(CFG): The CFG to find vulnerabilities in.
          definitions(trigger_definitions_parser.Definitions): Source and sink definitions.
          lattice(Lattice): the lattice we're analysing.
          blackbox_mapping(dict): A map of blackbox functions containing whether or not they propagate taint.
          vulnerabilities_list(list): That we append to when we find vulnerabilities.
          interactive(bool): determines if we ask the user about blackbox functions not in the mapping file.