/dragonfly/contrib/file/src/ |
H A D | readelf.c | 554 type == NT_GNU_BUILD_ID && (descsz >= 4 && descsz <= 20)) { in do_bid_note() 559 switch (descsz) { in do_bid_note() 576 for (i = 0; i < descsz; i++) in do_bid_note() 861 if (reloffset >= descsz) in do_core_note() 1163 uint32_t namesz, descsz; in donote() local 1185 descsz = xnh_descsz; in donote() 1200 if (descsz & 0x80000000) { in donote() 1217 if (doff + descsz > size) { in donote() 1259 if (descsz > 100) in donote() 1260 descsz = 100; in donote() [all …]
|
/dragonfly/contrib/binutils-2.34/bfd/ |
H A D | elf-properties.c | 85 bfd_byte *ptr_end = ptr + note->descsz; in _bfd_elf_parse_gnu_properties() 87 if (note->descsz < 8 || (note->descsz % align_size) != 0) in _bfd_elf_parse_gnu_properties() 92 abfd, note->type, note->descsz); in _bfd_elf_parse_gnu_properties() 410 unsigned int descsz; in elf_get_gnu_property_section_size() local 413 descsz = offsetof (Elf_External_Note, name[sizeof "GNU"]); in elf_get_gnu_property_section_size() 414 descsz = (descsz + 3) & -(unsigned int) 4; in elf_get_gnu_property_section_size() 415 size = descsz; in elf_get_gnu_property_section_size() 442 unsigned int descsz; in elf_write_gnu_properties() local 448 descsz = (descsz + 3) & -(unsigned int) 4; in elf_write_gnu_properties() 450 bfd_h_put_32 (abfd, size - descsz, &e_note->descsz); in elf_write_gnu_properties() [all …]
|
H A D | opncls.c | 1905 inote.descsz = H_GET_32 (abfd, enote->descsz); in get_build_id() 1909 if (inote.descsz <= 0 in get_build_id() 1913 || inote.descsz > 0x7ffffffe in get_build_id() 1914 || size < (12 + BFD_ALIGN (inote.namesz, 4) + inote.descsz)) in get_build_id() 1921 build_id = bfd_alloc (abfd, sizeof (struct bfd_build_id) + inote.descsz); in get_build_id() 1928 build_id->size = inote.descsz; in get_build_id() 1929 memcpy (build_id->data, inote.descdata, inote.descsz); in get_build_id()
|
H A D | elf.c | 9982 if (note->descsz < 728) in elfcore_grok_win32pstatus() 10378 if (note->descsz == 0) in elfobj_grok_gnu_build_id() 10445 if (note->descsz < 108) in elfcore_grok_freebsd_psinfo() 10450 if (note->descsz < 120) in elfcore_grok_freebsd_psinfo() 10521 if (note->descsz < min_size) in elfcore_grok_freebsd_prstatus() 10817 if (note->descsz < 16) in elfcore_grok_nto_status() 10854 sect->size = note->descsz; in elfcore_grok_nto_status() 10883 sect->size = note->descsz; in elfcore_grok_nto_regs() 10941 sect->size = note->descsz; in elfcore_grok_spu_note() 11826 in.descsz = H_GET_32 (abfd, xnp->descsz); in elf_parse_notes() [all …]
|
/dragonfly/contrib/binutils-2.34/include/elf/ |
H A D | external.h | 181 unsigned char descsz[4]; /* Size of the note descriptor */ member 198 #define ELF_NOTE_NEXT_OFFSET(namesz, descsz, align) \ argument 199 ELF_ALIGN_UP (ELF_NOTE_DESC_OFFSET ((namesz), (align)) + (descsz), \
|
H A D | internal.h | 144 unsigned long descsz; /* Size of the note descriptor */ member
|
H A D | ia64.h | 242 unsigned char descsz[8]; /* Size of the note descriptor */ member
|
/dragonfly/lib/csu/common/ |
H A D | crtbrand.c | 55 int32_t descsz; member 62 .descsz = sizeof(int32_t),
|
H A D | initfini.c | 104 int32_t descsz; member 111 .descsz = sizeof(uint32_t),
|
/dragonfly/contrib/binutils-2.34/binutils/ |
H A D | elfedit.c | 173 in.descsz = BYTE_GET (xnp->descsz); in update_gnu_property() 176 if (in.descsz != 0 in update_gnu_property() 178 || in.descsz > buf - in.descdata + size)) in update_gnu_property() 191 if (in.descsz < 8 || (in.descsz % align) != 0) in update_gnu_property() 198 ptr_end = ptr + in.descsz; in update_gnu_property() 237 p += ELF_NOTE_NEXT_OFFSET (in.namesz, in.descsz, align); in update_gnu_property()
|
H A D | readelf.c | 14256 inote.descsz = BYTE_GET (enote->descsz); in get_build_id() 14286 inote.descsz = BYTE_GET (vms_enote->descsz); in get_build_id() 17894 if (pnote->descsz < 8 || (pnote->descsz % size) != 0) in print_gnu_property_note() 18102 if (pnote->descsz < 16) in print_gnu_note() 18167 if (pnote->descsz < 8) in print_gnu_note() 18225 if (pnote->descsz != 4) in print_v850_note() 18853 switch (pnote->descsz) in print_gnu_build_attribute_description() 19285 if (pnote->descsz) in process_note() 19387 inote.descsz = BYTE_GET (external->descsz); in process_notes_at() 19417 inote.descsz = BYTE_GET (vms_external->descsz); in process_notes_at() [all …]
|
/dragonfly/contrib/gdb-7/gdb/ |
H A D | osabi.c | 382 const char *name, unsigned long descsz, unsigned long type) in check_note() argument 396 notesz += descsz; in check_note() 412 if (bfd_h_get_32 (abfd, note + 4) != descsz) in check_note()
|
/dragonfly/contrib/elftoolchain/libelf/ |
H A D | libelf_convert.m4 | 927 uint32_t namesz, descsz, type; 947 READ_WORD(src, descsz); 952 SWAP_WORD(descsz); 958 en->n_descsz = descsz; 966 ROUNDUP2(descsz, 4U); 968 sz = namesz + descsz; 989 uint32_t namesz, descsz, type; 1005 descsz = en->n_descsz; 1010 sz += descsz; 1014 SWAP_WORD(descsz); [all …]
|
/dragonfly/sys/platform/pc64/x86_64/ |
H A D | efirt.c | 197 efi_create_1t1_map(struct efi_md *map, int ndesc, int descsz) in efi_create_1t1_map() argument 207 efi_descsz = descsz; in efi_create_1t1_map() 235 i < ndesc; i++, p = efi_next_descriptor(p, descsz)) { in efi_create_1t1_map()
|
/dragonfly/usr.bin/gcore/ |
H A D | elfcore.c | 79 const void *desc, size_t descsz); 337 const void *desc, size_t descsz) in elf_putnote() argument 342 note.n_descsz = descsz; in elf_putnote()
|
/dragonfly/contrib/binutils-2.34/gold/ |
H A D | layout.cc | 3271 size_t descsz = 0; in create_gnu_properties_note() local 3276 descsz = align_address(descsz + 8 + prop->second.pr_datasz, size / 8); in create_gnu_properties_note() 3282 ".note.gnu.property", descsz, in create_gnu_properties_note() 3418 size_t descsz; in create_build_id() local 3421 descsz = 128 / 8; in create_build_id() 3423 descsz = 160 / 8; in create_build_id() 3448 descsz = uuidsz; in create_build_id() 3467 descsz = sizeof(UUID); in create_build_id() 3488 descsz = desc.size(); in create_build_id() 3496 ".note.gnu.build-id", descsz, true, in create_build_id() [all …]
|
/dragonfly/contrib/gdb-7/include/elf/ |
H A D | external.h | 167 unsigned char descsz[4]; /* Size of the note descriptor */ member
|
H A D | internal.h | 137 unsigned long descsz; /* Size of the note descriptor */ member
|
/dragonfly/contrib/binutils-2.27/include/elf/ |
H A D | external.h | 181 unsigned char descsz[4]; /* Size of the note descriptor */ member
|
H A D | internal.h | 144 unsigned long descsz; /* Size of the note descriptor */ member
|
/dragonfly/contrib/binutils-2.27/gas/config/ |
H A D | obj-elf.c | 1785 i_note.descsz = 0; /* No description. */ in obj_elf_version() 1789 p = frag_more (sizeof (e_note.descsz)); in obj_elf_version() 1790 md_number_to_chars (p, i_note.descsz, sizeof (e_note.descsz)); in obj_elf_version() 2617 i_note.descsz = 12; /* 12 descriptive bytes */ in sco_id() 2623 p = frag_more (sizeof (i_note.descsz)); in sco_id() 2624 md_number_to_chars (p, i_note.descsz, 4); in sco_id()
|
/dragonfly/contrib/gdb-7/bfd/ |
H A D | elf.c | 8081 note->descsz, note->descpos); in elfcore_make_note_pseudosection() 8439 if (note->descsz < 728) in elfcore_grok_win32pstatus() 8505 sect->size = note->descsz; in elfcore_grok_win32pstatus() 8690 sect->size = note->descsz; in elfcore_grok_note() 8712 if (note->descsz == 0) in elfobj_grok_gnu_build_id() 8720 t->build_id->size = note->descsz; in elfobj_grok_gnu_build_id() 8744 + note->descsz); in elfobj_grok_stapsdt_note_1() 8906 sect->size = note->descsz; in elfcore_grok_openbsd_note() 8920 sect->size = note->descsz; in elfcore_grok_openbsd_note() 9626 in.descsz = H_GET_32 (abfd, xnp->descsz); in elf_parse_notes() [all …]
|
/dragonfly/contrib/binutils-2.27/bfd/ |
H A D | elf.c | 9205 if (note->descsz < 728) in elfcore_grok_win32pstatus() 9271 sect->size = note->descsz; in elfcore_grok_win32pstatus() 9470 sect->size = note->descsz; in elfcore_grok_note() 9493 if (note->descsz == 0) in elfobj_grok_gnu_build_id() 9500 build_id->size = note->descsz; in elfobj_grok_gnu_build_id() 9525 + note->descsz); in elfobj_grok_stapsdt_note_1() 9673 sect->size = note->descsz - 4; in elfcore_grok_freebsd_note() 9829 sect->size = note->descsz; in elfcore_grok_openbsd_note() 9843 sect->size = note->descsz; in elfcore_grok_openbsd_note() 10578 in.descsz = H_GET_32 (abfd, xnp->descsz); in elf_parse_notes() [all …]
|
/dragonfly/contrib/binutils-2.27/gold/ |
H A D | layout.cc | 2862 const char* section_name, size_t descsz, in create_note() argument 2905 elfcpp::Swap<32, true>::writeval(buffer + 4, descsz); in create_note() 2920 elfcpp::Swap<64, true>::writeval(buffer + 8, descsz); in create_note() 2947 *trailing_padding = aligned_descsz - descsz; in create_note() 3053 size_t descsz; in create_build_id() local 3056 descsz = 128 / 8; in create_build_id() 3058 descsz = 160 / 8; in create_build_id() 3082 descsz = uuidsz; in create_build_id() 3102 descsz = desc.size(); in create_build_id() 3110 ".note.gnu.build-id", descsz, true, in create_build_id() [all …]
|
/dragonfly/contrib/binutils-2.27/binutils/ |
H A D | readelf.c | 15293 if (pnote->descsz < 2 * addr_size) in print_core_note() 15300 descend = descdata + pnote->descsz; in print_core_note() 15302 if (descdata[pnote->descsz - 1] != '\0') in print_core_note() 15393 for (i = 0; i < pnote->descsz; ++i) in print_gnu_note() 15405 if (pnote->descsz < 16) in print_gnu_note() 15488 if (pnote->descsz != 4) in print_v850_note() 15770 if (pnote->descsz > 36) in print_ia64_vms_note() 15946 inote.descsz = BYTE_GET (external->descsz); in process_corefile_note_segment() 15977 inote.descsz = BYTE_GET (vms_external->descsz); in process_corefile_note_segment() 16087 inote.descsz = BYTE_GET (external->descsz); in process_v850_notes() [all …]
|