/external/swiftshader/third_party/subzero/src/ |
IceELFSection.h | 80 void setFileOffset(Elf64_Off sh_offset) { Header.sh_offset = sh_offset; } 321 Str.writeAddrOrOffset<IsELF64>(Header.sh_offset);
|
/external/syslinux/com32/include/sys/ |
elf32.h | 98 Elf32_Off sh_offset; member in struct:elf32_shdr
|
elf64.h | 98 Elf64_Off sh_offset; member in struct:elf64_shdr
|
/development/vndk/tools/definition-tool/tools/ |
remove_dt_needed.py | 20 'sh_name sh_type sh_flags sh_addr sh_offset sh_size sh_link sh_info ' 165 shstrtab_off = shstrtab_shdr.sh_offset 184 dynamic_off = dynamic_shdr.sh_offset 185 dynstr_off = dynstr_shdr.sh_offset
|
/external/llvm/tools/yaml2obj/ |
yaml2elf.cpp | 253 CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign); 296 CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign), 308 CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign) 348 CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign); 375 auto &OS = CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign); 413 auto &OS = CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign); 444 auto &OS = CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign);
|
/external/google-breakpad/src/common/linux/ |
synth_elf_unittest.cc | 246 EXPECT_EQ(0U, shdr[0].sh_offset); 257 EXPECT_EQ(sizeof(Ehdr), shdr[1].sh_offset); 321 EXPECT_EQ(0U, shdr[0].sh_offset); 332 EXPECT_EQ(sizeof(Ehdr) + sizeof(Phdr), shdr[1].sh_offset); 343 EXPECT_EQ(0U, shdr[2].sh_offset); 354 EXPECT_EQ(sizeof(Ehdr) + sizeof(Phdr) + 4096, shdr[3].sh_offset);
|
dump_symbols.cc | 189 GetOffset<ElfClass, uint8_t>(elf_header, stab_section->sh_offset); 191 GetOffset<ElfClass, uint8_t>(elf_header, stabstr_section->sh_offset); 250 section_names->sh_offset) + 253 section->sh_offset); 340 GetOffset<ElfClass, char>(elf_header, section->sh_offset); 609 GetOffset<ElfClass, char>(elf_header, section_names->sh_offset); 666 dynsym_section->sh_offset); 669 dynstr_section->sh_offset); 743 gnu_debuglink_section->sh_offset); [all...] |
/external/elfutils/libelf/ |
elf32_getshdr.c | 144 CONVERT_TO (shdr[cnt].sh_offset, notcvt[cnt].sh_offset); 193 CONVERT (shdr[cnt].sh_offset);
|
elf32_updatefile.c | 59 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_offset 60 < (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_offset) 63 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_offset 64 > (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_offset) 292 + scn->shdr.ELFW(e,LIBELFBITS)->sh_offset) 325 + elf->start_offset + shdr->sh_offset); 705 off_t scn_start = elf->start_offset + shdr->sh_offset;
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/ArmShellCmdRunAxf/ |
elf32.h | 95 Elf32_Off sh_offset; /* Offset in file. */
member in struct:__anon4988
|
elf64.h | 103 Elf64_Off sh_offset; /* Offset in file. */
member in struct:__anon5004
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/ |
elf32.h | 95 Elf32_Off sh_offset; /* Offset in file. */
member in struct:__anon5067
|
Elf32Convert.c | 259 return (BOOLEAN) (strcmp((CHAR8*)mEhdr + Namedr->sh_offset + Shdr->sh_name, ELF_HII_SECTION_NAME) == 0);
282 return (BOOLEAN) (strcmp((CHAR8*)mEhdr + Namedr->sh_offset + Shdr->sh_name, ELF_STRTAB_SECTION_NAME) == 0);
318 UINT8* StrtabContents = (UINT8*)mEhdr + StrtabShdr->sh_offset;
521 SetHiiResourceHeader ((UINT8*) mEhdr + shdr->sh_offset, mHiiRsrcOffset);
667 (UINT8*)mEhdr + Shdr->sh_offset,
714 UINT8 *Symtab = (UINT8*)mEhdr + SymtabShdr->sh_offset;
723 Elf_Rel *Rel = (Elf_Rel *)((UINT8*)mEhdr + RelShdr->sh_offset + RelOffset);
896 Rel = (Elf_Rel *)((UINT8*)mEhdr + RelShdr->sh_offset + RelIdx);
[all...] |
Elf64Convert.c | 251 return (BOOLEAN) (strcmp((CHAR8*)mEhdr + Namedr->sh_offset + Shdr->sh_name, ELF_HII_SECTION_NAME) == 0);
274 return (BOOLEAN) (strcmp((CHAR8*)mEhdr + Namedr->sh_offset + Shdr->sh_name, ELF_STRTAB_SECTION_NAME) == 0);
310 UINT8* StrtabContents = (UINT8*)mEhdr + StrtabShdr->sh_offset;
513 SetHiiResourceHeader ((UINT8*) mEhdr + shdr->sh_offset, mHiiRsrcOffset);
662 (UINT8*)mEhdr + Shdr->sh_offset,
724 UINT8 *Symtab = (UINT8*)mEhdr + SymtabShdr->sh_offset;
734 Elf_Rela *Rel = (Elf_Rela *)((UINT8*)mEhdr + RelShdr->sh_offset + RelIdx);
965 Elf_Rela *Rel = (Elf_Rela *)((UINT8*)mEhdr + RelShdr->sh_offset + RelIdx);
[all...] |
elf64.h | 103 Elf64_Off sh_offset; /* Offset in file. */
member in struct:__anon5083
|
/external/syslinux/gpxe/src/util/ |
iccfix.c | 41 char *strings = ( elf + strtab->sh_offset );
|
/art/compiler/linker/ |
elf_builder.h | 144 CHECK_EQ(header_.sh_offset, 0u); 145 header_.sh_offset = owner_->AlignFileOffset(align); 163 DCHECK_GE(file_offset, (off_t)header_.sh_offset); 164 return file_offset - header_.sh_offset; 645 if (section->header_.sh_offset == 0) { [all...] |
/external/elfutils/tests/ |
asm-tst9.c | 255 if ((cnt == 1 && shdr->sh_offset != ((sizeof (Elf32_Ehdr) + 15) & ~15)) 257 && shdr->sh_offset != (((sizeof (Elf32_Ehdr) + 15) & ~15)
|
elfstrmerge.c | 285 GElf_Off off = shdr->sh_offset + (shdr->sh_type != SHT_NOBITS 590 sh_addralign, sh_size and sh_offset. Otherwise libelf will 602 newshdr.sh_offset = shdr->sh_offset; 608 newshdr.sh_offset = last_offset; 617 newshdr.sh_offset = 0;
|
asm-tst1.c | 206 if (shdr->sh_offset != ((sizeof (Elf32_Ehdr) + 31) & ~31))
|
/external/syslinux/com32/tools/ |
relocs.c | 331 sec->shdr.sh_offset = elf32_to_cpu(shdr.sh_offset); 356 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) { 358 sec->shdr.sh_offset, strerror(errno)); 381 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) { 383 sec->shdr.sh_offset, strerror(errno)); 414 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) { 416 sec->shdr.sh_offset, strerror(errno));
|
/bionic/linker/ |
linker_phdr.cpp | 393 if (pt_dynamic_offset != dynamic_shdr->sh_offset) { 398 static_cast<size_t>(dynamic_shdr->sh_offset), 407 static_cast<size_t>(dynamic_shdr->sh_offset), 446 if (!CheckFileRange(dynamic_shdr->sh_offset, dynamic_shdr->sh_size, alignof(const ElfW(Dyn)))) { 451 if (!dynamic_fragment_.Map(fd_, file_offset_, dynamic_shdr->sh_offset, dynamic_shdr->sh_size)) { 458 if (!CheckFileRange(strtab_shdr->sh_offset, strtab_shdr->sh_size, alignof(const char))) { 464 if (!strtab_fragment_.Map(fd_, file_offset_, strtab_shdr->sh_offset, strtab_shdr->sh_size)) { [all...] |
/bionic/tools/relocation_packer/src/ |
elf_file.cc | 115 VLOG(1) << " sh_offset = " << section_header->sh_offset; 222 if (section_header->sh_offset == dynamic_program_header->p_offset) { 291 if (section_header->sh_offset > hole_start) { 292 section_header->sh_offset += hole_size; 294 << " sh_offset adjusted to " << section_header->sh_offset; 489 if (section_header->sh_offset == dynamic_program_header->p_offset) { 600 const auto hole_start = section_header->sh_offset; [all...] |
/external/libunwind/src/dwarf/ |
Gfind_proc_info-lsb.c | 136 fseek (f, sec_hdrs[shstrndx].sh_offset, SEEK_SET); 152 fseek (f, sec_hdrs[i].sh_offset, SEEK_SET); 157 *bufsize, (long) sec_hdrs[i].sh_offset); 164 fseek (f, sec_hdrs[i].sh_offset, SEEK_SET); 169 linksize, (long) sec_hdrs[i].sh_offset); 188 fseek (f, sec_hdrs[i].sh_offset, SEEK_SET); 194 xz_size, (long) sec_hdrs[i].sh_offset);
|
/external/elfutils/src/ |
strings.c | 733 if (shdr->sh_offset > (Elf64_Off) fdlen 734 || fdlen - shdr->sh_offset < shdr->sh_size) 748 result |= read_block (fd, fname, fdlen, shdr->sh_offset, 749 shdr->sh_offset + shdr->sh_size);
|