Lines Matching defs:name
134 N_("Dump the uninterpreted contents of SECTION, by number or name"), 0 },
203 /* A specific section name, or NULL to print all symbol tables. */
206 /* A specific section name, or NULL to print all ELF notes. */
408 add_dump_section (const char *name,
413 a->arg = name;
603 fputs (_("Missing file name.\n"), stderr);
689 error (0, 0, _("cannot get section name"));
784 const char *name __attribute__ ((unused)),
803 const char *name __attribute__ ((unused)),
809 /* Print the file name. */
1427 the user the name of the interpreter. We check whether
1900 char *name = NULL;
1907 name = elf_strptr (ebl->elf, shdr->sh_link, dyn->d_un.d_val);
1911 name = ((char *) strtab_data->d_buf) + dyn->d_un.d_val;
1925 printf (_("Shared library: [%s]\n"), name);
1929 printf (_("Library soname: [%s]\n"), name);
1933 printf (_("Library rpath: [%s]\n"), name);
1937 printf (_("Library runpath: [%s]\n"), name);
2101 name. */
2290 name. */
3713 /* Section vendor name. */
3714 const unsigned char *name = p + sizeof len;
3717 unsigned const char *q = memchr (name, '\0', len);
3722 printf (_(" %-13s %4" PRIu32 "\n"), name, len);
3724 bool gnu_vendor = (q - name == sizeof "gnu"
3725 && !memcmp (name, "gnu", sizeof "gnu"));
3808 ebl_check_object_attribute (ebl, (const char *) name,
3829 || strcmp ((const char *) name, "gnu"));
3849 /* See if there is a name we can give for this address. */
3852 const char *name = (print_address_names && ! print_unresolved_addresses)
3868 /* In an ET_REL file there is a section name to refer to. */
3873 if ((name != NULL
3878 scn, address, name, off)
3881 name, off))
3884 address, name, off)
3887 name, off)))
3890 ? printf ("%s+%#" PRIx64 " <%s>", scn, address, name)
3892 scn, 2 + address_size * 2, address, name))
3894 ? printf ("%#" PRIx64 " <%s>", address, name)
3896 2 + address_size * 2, address, name))))
5008 /* To store the name used in compare_listptr */
5014 const char *name = sort_listptr_name;
5030 name, (uint64_t) p1->offset);
5037 name, (uint64_t) p1->offset);
5044 name, (uint64_t) p1->offset);
5052 name, (uint64_t) p1->offset, dwarf_attr_name (p1->attr),
5121 sort_listptr (struct listptr_table *table, const char *name)
5125 sort_listptr_name = name;
5305 unsigned int name;
5309 while (dwarf_getabbrevattr_data (&abbrev, cnt, &name, &form,
5313 dwarf_attr_name (name), dwarf_form_name (form));
6300 char name[REGNAMESZ], int *bits, int *type)
6305 ssize_t n = ebl_register_info (ebl, regno, name, REGNAMESZ, &pfx, &set,
6310 snprintf (name, REGNAMESZ, "reg%u", loc->regno);
6312 snprintf (name, REGNAMESZ, "??? 0x%x", regno);
7560 name for now. */
8832 puts (_("\nFile name table:"));
8896 /* First comes the file name. */
9069 define new file: dir=%u, mtime=%" PRIu64 ", length=%" PRIu64 ", name=%s\n"),
9110 " function name %s (0x%x)\n"),
9133 printf (_(" set function name %s (0x%x)\n"),
10582 ", CU DIE offset: %6" PRId64 ", name: %s\n"),
10583 (*np)++, global->die_offset, global->cu_offset, global->name);
10925 // XXX Possibly print symbol name or section offset for initial_offset
11308 uint32_t name = read_4ubyte_unaligned (dbg, readp);
11314 if (name != 0 || vector != 0)
11316 const unsigned char *sym = const_start + name;
11317 if (unlikely ((size_t) (dataend - const_start) < name
11407 const char *name __attribute__ ((unused)),
11600 const char *name = elf_strptr (ebl->elf, shstrndx,
11602 if (name == NULL)
11605 if (strcmp (name, ".debug_info") == 0
11606 || strcmp (name, ".debug_info.dwo") == 0
11607 || strcmp (name, ".zdebug_info") == 0
11608 || strcmp (name, ".zdebug_info.dwo") == 0
11609 || strcmp (name, ".gnu.debuglto_.debug_info") == 0)
11632 const char *name;
11638 #define NEW_SECTION(name) \
11639 { ".debug_" #name, section_##name, print_debug_##name##_section }
11675 const char *name = elf_strptr (ebl->elf, shstrndx,
11677 if (name == NULL)
11683 size_t dbglen = strlen (debug_sections[n].name);
11684 size_t scnlen = strlen (name);
11685 if ((strncmp (name, debug_sections[n].name, dbglen) == 0
11688 && strstr (name, ".dwo") == name + dbglen)))
11689 || (name[0] == '.' && name[1] == 'z'
11690 && debug_sections[n].name[1] == 'd'
11691 && strncmp (&name[2], &debug_sections[n].name[1],
11695 && strstr (name, ".dwo") == name + dbglen + 1)))
11697 && startswith (name, ".gnu.debuglto_")
11698 && strcmp (&name[14], debug_sections[n].name) == 0)
11743 size_t name_width, const char *name, const char *format, ...)
11745 size_t len = strlen (name);
11775 printf ("%s: %*s%s", name, (int) (name_width - len), "", out);
11870 0, item->name, dec, value_##Name[0]); \
11886 0, item->name, hex, value_##Name[0]); \
11962 colno = print_core_item (colno, ',', WRAP_COLUMN, 0, item->name,
12000 colno = print_core_item (colno, ',', WRAP_COLUMN, 0, item->name,
12006 colno = print_core_item (colno, ',', WRAP_COLUMN, 0, item->name,
12011 colno = print_core_item (colno, ',', WRAP_COLUMN, 0, item->name,
12019 assert (item->name == NULL);
12047 item->format, item->name);
12202 char name[REGNAMESZ];
12205 register_info (ebl, reg, regloc, name, &bits, &type);
12230 maxregname, name, \
12234 maxregname, name, \
12245 maxregname, name,
12276 maxregname, name, "0x%s", hex);
12292 char name[REGNAMESZ];
12385 info->name, &info->bits, &info->type);
12403 /* Find the longest name of a register in this set. */
12408 size_t len = strlen (end->name);
12442 const char *name;
12444 if (ebl_auxv_info (ebl, av->a_type, &name, &fmt) == 0)
12459 printf (" %s\n", name);
12466 printf (" %s: %#" PRIx64 "\n", name, av->a_un.a_val);
12469 printf (" %s: %" PRIu64 "\n", name, av->a_un.a_val);
12472 printf (" %s: %" PRId64 "\n", name, av->a_un.a_val);
12476 printf (" %s: %#" PRIx64 " ", name, av->a_un.a_val);
12646 const char *name, const void *desc)
12654 if (! ebl_core_note (ebl, nhdr, name, desc,
12691 const char *name = nhdr.n_namesz == 0 ? "" : data->d_buf + name_offset;
12695 into the owner name field. Extract just the owner name
12698 = startswith (name, ELF_NOTE_GNU_BUILD_ATTRIBUTE_PREFIX);
12700 ? ELF_NOTE_GNU_BUILD_ATTRIBUTE_PREFIX : name);
12711 : ebl_object_note_type_name (ebl, name, nhdr.n_type,
12716 if (memchr (name, '\0', nhdr.n_namesz) != NULL
12724 || (nhdr.n_namesz == 5 && name[4] == '\0'))
12725 && !memcmp (name, "CORE", 4))
12728 else if (nhdr.n_namesz == 5 && strcmp (name, "CORE") == 0)
12742 handle_core_note (ebl, &nhdr, name, desc);
12745 handle_core_note (ebl, &nhdr, name, desc);
12748 ebl_object_note (ebl, nhdr.n_namesz, name, nhdr.n_type,
12858 dump_data_section (Elf_Scn *scn, const GElf_Shdr *shdr, const char *name)
12862 elf_ndxscn (scn), name);
12877 else if (startswith (name, ".zdebug"))
12889 elf_ndxscn (scn), name, elf_errmsg (-1));
12895 elf_ndxscn (scn), name,
12901 elf_ndxscn (scn), name,
12909 print_string_section (Elf_Scn *scn, const GElf_Shdr *shdr, const char *name)
12913 elf_ndxscn (scn), name);
12928 else if (startswith (name, ".zdebug"))
12940 elf_ndxscn (scn), name, elf_errmsg (-1));
12946 elf_ndxscn (scn), name,
12952 elf_ndxscn (scn), name,
12977 const char *name))
12988 const char *name = NULL;
13004 name = elf_strptr (elf, shstrndx, shdr_mem.sh_name);
13005 (*dump) (scn, &shdr_mem, name);
13009 /* Need to look up the section by name. */
13016 name = elf_strptr (elf, shstrndx, shdr_mem.sh_name);
13017 if (name == NULL)
13019 if (!strcmp (name, a->arg))
13022 (*dump) (scn, &shdr_mem, name);
13054 const char *name;
13065 name = elf_strptr (ebl->elf, shstrndx, shdr_mem.sh_name);
13066 if (name == NULL)
13069 print_string_section (scn, &shdr_mem, name);