code: def escape_special_symbols(strval):
      retval = ""
      for c in strval:
          if c in ("\\", '"'):
              retval += "\\" + c
          elif ord(c) < 0x20:
              retval += c.encode("unicode_escape").decode("utf-8")
          else:
              retval += c
      return retval
  
file_path: catboost/build/scripts/build_info_gen.py
imports: import subprocess
  import os
  import sys
  import re
label_desc: Use image node_id 1 for calling a global function with example usage: escape_special_symbols(strval) and returns: retval