parameters: (secname)
docstring: Returns an attribute name for the given section name, or None
      Note that not all sections are represented.
docstring_summary: Returns an attribute name for the given section name, or None
      Note that not all sections are represented.
docstring_tokens: Returns an attribute name for the given section name or None Note that not all sections are represented .
function: def metric_key_for_section_name(secname):
      """Returns an attribute name for the given section name, or None
      Note that not all sections are represented.
      """
      if secname in ["text", "init_array", "fini_array"]:
          return "code"
      elif secname in ["const", "cstring", "ustring"]:
          return "ro_data"
      elif secname in ["data", "thread_vars", "data.rel.ro"]:
          return "rw_data"
      elif secname in ["bss", "thread_bss", "tbss", "dynamic"]:
          return "bss"
      elif secname in [
          "stub_helper",
          "stubs",
          "nl_symbol_ptr",
          "la_symbol_ptr",
          "gnu.hash",
          "dynsym",
          "dynstr",
          "rela.dyn",
          "rela.plt",
          "got",
          "got.plt",
      ]:
          return "symbols"
      elif secname in ["eh_frame_hdr", "eh_frame", "unwind_info"]:
          return "unwind"
      else:
          return None
function_tokens: def metric_key_for_section_name ( secname ) : if secname in [ "text" , "init_array" , "fini_array" ] : return "code" elif secname in [ "const" , "cstring" , "ustring" ] : return "ro_data" elif secname in [ "data" , "thread_vars" , "data.rel.ro" ] : return "rw_data" elif secname in [ "bss" , "thread_bss" , "tbss" , "dynamic" ] : return "bss" elif secname in [ "stub_helper" , "stubs" , "nl_symbol_ptr" , "la_symbol_ptr" , "gnu.hash" , "dynsym" , "dynstr" , "rela.dyn" , "rela.plt" , "got" , "got.plt" , ] : return "symbols" elif secname in [ "eh_frame_hdr" , "eh_frame" , "unwind_info" ] : return "unwind" else : return None