Home
last modified time | relevance | path

Searched refs:sh_offset (Results 1 – 25 of 39) sorted by relevance

12

/third_party/mesa3d/src/amd/common/
Dac_rgp_elf_object_pack.c385 uint32_t sh_offset; in ac_rgp_file_write_elf_object() local
434 sh_offset = elf_size_calc; in ac_rgp_file_write_elf_object()
440 sec_hdr[1].sh_offset = sizeof(Elf64_Ehdr); in ac_rgp_file_write_elf_object()
447 sec_hdr[2].sh_offset = sec_hdr[1].sh_offset + sec_hdr[1].sh_size; in ac_rgp_file_write_elf_object()
453 sec_hdr[3].sh_offset = sec_hdr[2].sh_offset + in ac_rgp_file_write_elf_object()
462 sec_hdr[4].sh_offset = sec_hdr[3].sh_offset + sec_hdr[3].sh_size; in ac_rgp_file_write_elf_object()
471 elf_hdr.e_shoff = sh_offset; in ac_rgp_file_write_elf_object()
/third_party/libunwind/src/
Delfxx.c75 if (str_shdr->sh_offset + str_shdr->sh_size > ei->size) in elf_w()
78 (unsigned long) (str_shdr->sh_offset + str_shdr->sh_size), in elf_w()
83 Debug (16, "strtab=0x%lx\n", (long) str_shdr->sh_offset); in elf_w()
84 return ei->image + str_shdr->sh_offset; in elf_w()
114 symtab = (Elf_W (Sym) *) ((char *) ei->image + shdr->sh_offset); in elf_w()
123 (long) shdr->sh_offset, shdr->sh_type); in elf_w()
192 symtab = (Elf_W (Sym) *) ((char *) ei->image + shdr->sh_offset); in elf_w()
304 compressed = ((uint8_t *) ei->image) + shdr->sh_offset; in elf_w()
426 if (shdr->sh_offset + shdr->sh_size > ei->size) in Elf_W()
430 (unsigned long) shdr->sh_offset + shdr->sh_size, in Elf_W()
[all …]
/third_party/elfio/elfio/
Delfio_section.hpp184 ELFIO_GET_SET_ACCESS( Elf64_Off, offset, header.sh_offset );
207 stream.seekg( ( *convertor )( header.sh_offset ) ); in load()
224 header.sh_offset = data_offset; in save()
225 header.sh_offset = ( *convertor )( header.sh_offset ); in save()
Delf_types.hpp756 Elf32_Off sh_offset; member
770 Elf64_Off sh_offset; member
/third_party/skia/buildtools/third_party/eu-strip/
Dfix-elf-size.patch30 ? shdr->sh_offset + shdr->sh_size : 0));
39 - update_if_changed (shdr->sh_offset, (GElf_Word) size,
40 + update_if_changed (shdr->sh_offset, size,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DELFEmitter.cpp365 To.sh_offset = *From->ShOffset; in overrideFields()
375 if (Header.sh_offset) in initImplicitHeader()
472 CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign); in initSectionHeaders()
630 auto &OS = CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign); in initSymtabSectionHeader()
656 auto &OS = CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign); in initStrtabSectionHeader()
700 Ret.push_back({H.sh_offset, H.sh_size, H.sh_type, H.sh_addralign}); in getPhdrFragments()
774 CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign); in writeSectionContent()
810 auto &OS = CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign); in writeSectionContent()
837 CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign); in writeSectionContent()
864 CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign); in writeSectionContent()
[all …]
/third_party/boost/boost/dll/detail/
Delf_info.hpp53 AddressOffsetT sh_offset; /* Section file offset */ member
184 checked_seekg(fs, section_names_section.sh_offset); in sections_names_raw()
200 checked_seekg(fs, section.sh_offset); in symbols_text()
207 checked_seekg(fs, section.sh_offset); in symbols_text()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceELFSection.h80 void setFileOffset(Elf64_Off sh_offset) { Header.sh_offset = sh_offset; } in setFileOffset() argument
321 Str.writeAddrOrOffset<IsELF64>(Header.sh_offset); in writeHeader()
/third_party/libunwind/src/ia64/
DGfind_unwind_table.c77 strtab = (char *) edi->ei.image + str_shdr->sh_offset; in find_gp()
83 gp = ((Elf64_Addr *) ((char *) edi->ei.image + shdr->sh_offset))[1]; in find_gp()
/third_party/libunwind/src/dwarf/
DGfind_proc_info-lsb.c129 (shdr->sh_offset + shdr->sh_size > ei.size)) in load_debug_frame()
138 Elf_W (Chdr) *chdr = (shdr->sh_offset + ei.image); in load_debug_frame()
154 shdr->sh_offset + ei.image + sizeof(*chdr), in load_debug_frame()
165 shdr->sh_size, *bufsize, shdr->sh_offset); in load_debug_frame()
189 memcpy(*buf, shdr->sh_offset + ei.image, *bufsize); in load_debug_frame()
192 *bufsize, shdr->sh_offset); in load_debug_frame()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DELF.h239 if (Shdr.sh_offset + Shdr.sh_size > getBufSize()) { in notes_begin()
242 Twine::utohexstr(Shdr.sh_offset) + ") or size (0x" + in notes_begin()
246 return Elf_Note_Iterator(base() + Shdr.sh_offset, Shdr.sh_size, Err); in notes_begin()
397 uintX_t Offset = Sec->sh_offset; in getSectionContentsAsArray()
576 size_t Pos = Section->sh_offset + Entry * sizeof(T); in getEntry()
DELFObjectFile.h494 return getSection(Sec)->sh_offset; in getSectionOffset()
730 (uintptr_t)base() + EShdr->sh_offset, EShdr->sh_size)) in getSectionContents()
732 return makeArrayRef((const uint8_t *)base() + EShdr->sh_offset, in getSectionContents()
780 reinterpret_cast<Elf_Dyn *>((uintptr_t)base() + Sec.sh_offset); in dynamic_relocation_sections()
/third_party/toybox/toys/posix/
Dfile.c156 long sh_offset = elf_int(shdr+8+8*(bits+1), 4*(bits+1)); local
163 char *note = map+sh_offset;
172 if (sh_offset+sh_size>TT.len) goto bad;
/third_party/flutter/skia/third_party/externals/icu/source/tools/toolutil/
Dpkg_genc.cpp1096 paddingSize=sectionHeaders32[4].sh_offset & 0xf; in writeObjectCode()
1099 sectionHeaders32[4].sh_offset+=paddingSize; in writeObjectCode()
1116 paddingSize=sectionHeaders64[4].sh_offset & 0xf; in writeObjectCode()
1119 sectionHeaders64[4].sh_offset+=paddingSize; in writeObjectCode()
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
Dpkg_genc.cpp1214 paddingSize=sectionHeaders32[4].sh_offset & 0xf; in writeObjectCode()
1217 sectionHeaders32[4].sh_offset+=paddingSize; in writeObjectCode()
1234 paddingSize=sectionHeaders64[4].sh_offset & 0xf; in writeObjectCode()
1237 sectionHeaders64[4].sh_offset+=paddingSize; in writeObjectCode()
/third_party/icu/icu4c/source/tools/toolutil/
Dpkg_genc.cpp1214 paddingSize=sectionHeaders32[4].sh_offset & 0xf; in writeObjectCode()
1217 sectionHeaders32[4].sh_offset+=paddingSize; in writeObjectCode()
1234 paddingSize=sectionHeaders64[4].sh_offset & 0xf; in writeObjectCode()
1237 sectionHeaders64[4].sh_offset+=paddingSize; in writeObjectCode()
/third_party/node/deps/icu-small/source/tools/toolutil/
Dpkg_genc.cpp1214 paddingSize=sectionHeaders32[4].sh_offset & 0xf; in writeObjectCode()
1217 sectionHeaders32[4].sh_offset+=paddingSize; in writeObjectCode()
1234 paddingSize=sectionHeaders64[4].sh_offset & 0xf; in writeObjectCode()
1237 sectionHeaders64[4].sh_offset+=paddingSize; in writeObjectCode()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_build_pm4.h277 unsigned sh_offset = (sh_base) + (desc)->shader_userdata_offset; \
278 radeon_set_sh_reg_seq(sh_offset, 1); \
/third_party/libunwind/include/mingw/
Dfreebsd-elf32.h82 Elf32_Off sh_offset; /* Offset in file. */ member
Dfreebsd-elf64.h95 Elf64_Off sh_offset; /* Offset in file. */ member
/third_party/libunwind/include/win/
Dfreebsd-elf32.h82 Elf32_Off sh_offset; /* Offset in file. */ member
Dfreebsd-elf64.h95 Elf64_Off sh_offset; /* Offset in file. */ member
/third_party/glib/gio/
Dgresource-tool.c229 page_offset = shdr->sh_offset % page_size; in resource_from_section()
231 PROT_READ, MAP_PRIVATE, fd, shdr->sh_offset - page_offset); in resource_from_section()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DELF.h628 Elf32_Off sh_offset; // File offset of section data, in bytes member
642 Elf64_Off sh_offset; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DELF.h778 Elf32_Off sh_offset; // File offset of section data, in bytes member
792 Elf64_Off sh_offset; member

12