Searched defs:sh_size (Results 1 - 12 of 12) sorted by relevance

/freebsd-head/contrib/elftoolchain/libelf/
H A Delf_data.c45 uint64_t sh_align, sh_offset, sh_size, raw_size; local
81 sh_size = (uint64_t) s->s_shdr.s_shdr32.sh_size;
86 sh_size = s->s_shdr.s_shdr64.sh_size;
98 (sh_offset > raw_size || sh_size > raw_size - sh_offset))) {
109 if (sh_size % fsz) {
114 if (sh_size / fsz > SIZE_MAX) {
119 count = (size_t) (sh_size / fsz);
143 if (sh_type == SHT_NOBITS || sh_size
221 uint64_t sh_align, sh_offset, sh_size, raw_size; local
[all...]
H A Delf_update.c122 uint64_t sh_align, sh_entsize, sh_offset, sh_size; local
133 sh_size = (uint64_t) shdr32->sh_size;
139 sh_size = shdr64->sh_size;
161 * reuse the values in the 'sh_size' and 'sh_offset'
282 sh_size < scn_size ||
310 sh_size = scn_size;
326 shdr32->sh_size = (uint32_t) sh_size;
728 uint64_t sh_off, sh_size; local
[all...]
/freebsd-head/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFTypes.h127 Elf_Word sh_size; // Size of section, in bytes member in struct:llvm::object::Elf_Shdr_Base
142 Elf_Xword sh_size; // Size of section, in bytes member in struct:llvm::object::Elf_Shdr_Base
152 using Elf_Shdr_Base<ELFT>::sh_size;
158 return sh_size / sh_entsize;
/freebsd-head/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h165 elf_xword sh_size; ///< Number of bytes occupied in the file. member in struct:elf::ELFSectionHeader
H A DObjectFileELF.cpp1373 const size_t sh_size = header.e_shnum * header.e_shentsize; local
1376 if (sh_data.SetData(object_data, sh_offset, sh_size) != sh_size)
1391 const size_t byte_size = sheader.sh_size;
1401 sheader.sh_type == SHT_NOBITS ? 0 : sheader.sh_size;
1687 addr_t Size = H.sh_flags & SHF_ALLOC ? H.sh_size : 0;
1805 header.sh_type == SHT_NOBITS ? 0 : header.sh_size;
2383 const elf_xword num_relocations = rel_hdr->sh_size / rel_hdr->sh_entsize;
2403 plt_entsize = plt_hdr->sh_size / plt_hdr->sh_addralign /
2406 plt_entsize = plt_hdr->sh_size / (num_relocation
[all...]
/freebsd-head/contrib/binutils/include/elf/
H A Dexternal.h106 unsigned char sh_size[4]; /* Size of section in bytes */ member in struct:__anon636
119 unsigned char sh_size[8]; /* Size of section in bytes */ member in struct:__anon637
H A Dinternal.h83 bfd_size_type sh_size; /* Size of section in bytes */ member in struct:elf_internal_shdr
266 || segment->p_type == PT_TLS) ? sec_hdr->sh_size : 0)
291 (sec_hdr->sh_size > 0 \
/freebsd-head/sys/sys/
H A Delf32.h97 Elf32_Word sh_size; /* Size in bytes. */ member in struct:__anon3124
H A Delf64.h106 Elf64_Xword sh_size; /* Size in bytes. */ member in struct:__anon3142
/freebsd-head/contrib/file/src/
H A Dreadelf.h212 Elf32_Word sh_size; member in struct:__anon88
225 Elf64_Off sh_size; member in struct:__anon89
/freebsd-head/contrib/elftoolchain/common/
H A Delfdefinitions.h2756 Elf32_Word sh_size; /* section size in bytes */ member in struct:__anon57
2770 Elf64_Xword sh_size; /* section size in bytes */ member in struct:__anon58
/freebsd-head/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DELF.h779 Elf32_Word sh_size; // Size of section, in bytes member in struct:llvm::ELF::Elf32_Shdr
793 Elf64_Xword sh_size; member in struct:llvm::ELF::Elf64_Shdr

Completed in 91 milliseconds