code: def get_leaks_suppressions(cmd):
      supp, newcmd = [], []
      for arg in cmd:
          if arg.endswith(".supp"):
              supp.append(arg)
          else:
              newcmd.append(arg)
      return supp, newcmd
  
file_path: catboost/build/scripts/link_exe.py
imports: import sys
  import subprocess
  import optparse
  import process_command_files
  from process_whole_archive_option import ProcessWholeArchiveOption
label_desc: Use image node_id 1 for calling a global function with example usage: get_leaks_suppressions(cmd) and returns: supp,  newcmd