Home
last modified time | relevance | path

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

12

/external/elfcopy/
Delfcopy.c193 shdr_info[shdridx].shdr.sh_offset = shdr_info[shdridx].old_shdr.sh_offset; in adjust_elf()
251 shdr_info[cnt].shdr.sh_offset, in adjust_elf()
1570 ASSERT(old_range_info->shdr.sh_addr == old_range_info->shdr.sh_offset); in update_relocations_section_offsets()
1571 ASSERT(old_range_info->old_shdr.sh_addr == old_range_info->old_shdr.sh_offset); in update_relocations_section_offsets()
2108 if (shdr->sh_offset >= phdr->p_offset in section_belongs_to_header()
2109 && (shdr->sh_offset + shdr->sh_size in section_belongs_to_header()
2157 #define SECT_FILE_END(s) ((s).sh_offset + (s).sh_size) in section_to_header_mapping()
2165 if (shdr_info[inner].shdr.sh_offset < start) { in section_to_header_mapping()
2166 start = shdr_info[inner].shdr.sh_offset; in section_to_header_mapping()
2435 shdr_info[scnidx].shdr.sh_offset - in update_symbol_values()
[all …]
/external/libvpx/build/make/
Dobj_int_extract.c292 ENDIAN_ASSIGN_IN_PLACE(hdr->sh_offset); in parse_elf32_section()
314 return (char *)(elf->buf + shdr.sh_offset + idx); in parse_elf32_string_table()
358 strcpy(strtsb_name, (char *)(elf.buf + shdr.sh_offset + shdr.sh_name)); in parse_elf32()
363 strtab_off = shdr.sh_offset; in parse_elf32()
377 for (ofst = shdr.sh_offset; in parse_elf32()
378 ofst < shdr.sh_offset + shdr.sh_size; in parse_elf32()
414 elf.buf + dhdr.sh_offset + sym.st_value, in parse_elf32()
/external/elfutils/libelf/
Dgelf_update_shdr.c52 || unlikely (src->sh_offset > 0xffffffffull) in gelf_update_shdr()
67 COPY (sh_offset); in gelf_update_shdr()
Delf32_getshdr.c120 CONVERT_TO (shdr[cnt].sh_offset, notcvt[cnt].sh_offset);
149 CONVERT (shdr[cnt].sh_offset);
Delf32_updatefile.c44 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_offset in compare_sections()
45 < (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_offset) in compare_sections()
48 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_offset in compare_sections()
49 > (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_offset) in compare_sections()
203 + elf->start_offset + shdr->sh_offset); in __elfw2()
511 scn_start = elf->start_offset + shdr->sh_offset; in __elfw2()
Dgelf_getshdr.c63 COPY (sh_offset);
Delf32_updatenull.c285 shdr->sh_offset in __elfw2()
308 update_if_changed (shdr->sh_offset, (GElf_Word) size, in __elfw2()
Delf_getdata.c196 offset = shdr->sh_offset; in __libelf_set_rawdata()
209 offset = shdr->sh_offset; in __libelf_set_rawdata()
Dabstract.h76 TYPE_NAME (ElfW2(32, Ext##Off), sh_offset) \
89 TYPE_NAME (ElfW2(64, Ext##Off), sh_offset) \
/external/chromium/base/third_party/symbolize/
Dsymbolize.cc184 GetSectionHeaderByType(const int fd, ElfW(Half) sh_num, const off_t sh_offset, in GetSectionHeaderByType() argument
193 sh_offset + i * sizeof(buf[0])); in GetSectionHeaderByType()
240 off_t name_offset = shstrtab.sh_offset + out->sh_name; in GetSectionHeaderByName()
270 off_t offset = symtab->sh_offset + i * symtab->sh_entsize; in FindSymbol()
296 strtab->sh_offset + symbol.st_name); in FindSymbol()
/external/qemu/
Delf_ops.h36 bswapSZs(&shdr->sh_offset); in glue()
123 syms = load_at(fd, symtab->sh_offset, symtab->sh_size); in glue()
159 str = load_at(fd, strtab->sh_offset, strtab->sh_size); in glue()
Delf.h1060 Elf32_Off sh_offset; member
1073 Elf64_Off sh_offset; /* Section file offset */ member
/external/elfutils/tests/
Dasm-tst2.c206 if ((cnt == 1 && shdr->sh_offset != ((sizeof (Elf32_Ehdr) + 15) & ~15)) in main()
208 && shdr->sh_offset != (((sizeof (Elf32_Ehdr) + 15) & ~15) in main()
Dasm-tst9.c240 if ((cnt == 1 && shdr->sh_offset != ((sizeof (Elf32_Ehdr) + 15) & ~15)) in main()
242 && shdr->sh_offset != (((sizeof (Elf32_Ehdr) + 15) & ~15) in main()
Dsectiondump.c103 shdr->sh_offset, in handle_section()
Dasm-tst1.c191 if (shdr->sh_offset != ((sizeof (Elf32_Ehdr) + 31) & ~31)) in main()
/external/elfutils/src/
Dreadelf.c754 ehdr->e_ident[EI_CLASS] == ELFCLASS32 ? 6 : 8, shdr->sh_offset, in print_shdr()
879 : (shdr->sh_offset >= phdr->p_offset in print_phdr()
880 && (shdr->sh_offset + shdr->sh_size in print_phdr()
1140 shdr->sh_offset, in handle_dynamic()
1326 shdr->sh_offset); in handle_relocs_rel()
1362 shdr->sh_offset, in handle_relocs_rel()
1375 shdr->sh_offset, in handle_relocs_rel()
1483 shdr->sh_offset); in handle_relocs_rela()
1520 shdr->sh_offset, in handle_relocs_rela()
1951 shdr->sh_offset, in handle_verneed()
[all …]
Dstrip.c584 shdr_info[cnt].shdr.sh_offset = 0; in handle_elf()
979 shdr_info[cnt].shdr.sh_offset = 0; in handle_elf()
1035 shdr_info[cnt].shdr.sh_offset = 0; in handle_elf()
1266 if (shdr_info[cnt].shdr.sh_offset == 0) in handle_elf()
1267 shdr_info[cnt].shdr.sh_offset in handle_elf()
1279 if (lastoffset < shdr_info[cnt].shdr.sh_offset + filesz) in handle_elf()
1280 lastoffset = shdr_info[cnt].shdr.sh_offset + filesz; in handle_elf()
1598 newehdr->e_shoff = ((shdr_info[shdridx].shdr.sh_offset in handle_elf()
Delflint.c812 < destshdr->sh_offset - phdr->p_offset) in check_symtab()
818 > (destshdr->sh_offset - phdr->p_offset in check_symtab()
825 > (destshdr->sh_offset - phdr->p_offset in check_symtab()
1963 if (shdr->sh_offset != 0) in check_sections()
2188 && phdr->p_offset <= shdr->sh_offset in check_sections()
2189 && phdr->p_offset + phdr->p_memsz > shdr->sh_offset) in check_sections()
2193 < shdr->sh_offset + shdr->sh_size) in check_sections()
2200 if (shdr->sh_offset < phdr->p_offset + phdr->p_filesz) in check_sections()
2207 if (shdr->sh_offset >= phdr->p_offset + phdr->p_filesz) in check_sections()
/external/kernel-headers/original/linux/
Delf.h274 Elf32_Off sh_offset; member
287 Elf64_Off sh_offset; /* Section file offset */ member
/external/chromium/third_party/icu/source/tools/toolutil/
Dpkg_genc.c1040 paddingSize=sectionHeaders32[4].sh_offset & 0xf; in writeObjectCode()
1043 sectionHeaders32[4].sh_offset+=paddingSize; in writeObjectCode()
1060 paddingSize=sectionHeaders64[4].sh_offset & 0xf; in writeObjectCode()
1063 sectionHeaders64[4].sh_offset+=paddingSize; in writeObjectCode()
/external/icu4c/tools/toolutil/
Dpkg_genc.c1040 paddingSize=sectionHeaders32[4].sh_offset & 0xf; in writeObjectCode()
1043 sectionHeaders32[4].sh_offset+=paddingSize; in writeObjectCode()
1060 paddingSize=sectionHeaders64[4].sh_offset & 0xf; in writeObjectCode()
1063 sectionHeaders64[4].sh_offset+=paddingSize; in writeObjectCode()
/external/qemu/elff/
Delf.h223 Elf_Off sh_offset; member
Delf_file.cc370 if (!string_section_.map(elf_handle_, pull_val(str_sec->sh_offset), in initialize()
445 *offset = pull_val(cur_section->sh_offset); in get_section_info_by_name()
/external/grub/stage2/
Di386-elf.h109 Elf32_Off sh_offset; /* Section file offset */ member

12