Lines Matching refs:sh_offset
264 if (!CheckAndSet(section_header->sh_offset, "symtab", in Setup()
271 if (!CheckAndSet(section_header->sh_offset, "dynsym", in Setup()
283 if (!CheckAndSet(section_header->sh_offset, "dynstr", in Setup()
292 if (!CheckAndSet(section_header->sh_offset, "strtab", in Setup()
302 Begin() + section_header->sh_offset) { in Setup()
306 << " != " << reinterpret_cast<void*>(Begin() + section_header->sh_offset); in Setup()
312 if (!CheckAndSet(section_header->sh_offset, "hash section", in Setup()
368 if (Begin() + section_header->sh_offset == source) { in CheckSectionsLinked()
374 } else if (Begin() + section_header->sh_offset == target) { in CheckSectionsLinked()
1002 uint8_t* strings = Begin() + string_section.sh_offset; in GetString()
1045 return reinterpret_cast<Elf_Rel*>(Begin() + section_header.sh_offset); in GetRelSectionStart()
1065 return reinterpret_cast<Elf_Rela*>(Begin() + section_header.sh_offset); in GetRelaSectionStart()
1431 Begin() + patches_section->sh_offset, in ApplyOatPatchesTo()
1432 Begin() + patches_section->sh_offset + patches_section->sh_size, in ApplyOatPatchesTo()
1434 Begin() + target_section->sh_offset, in ApplyOatPatchesTo()
1435 Begin() + target_section->sh_offset + target_section->sh_size); in ApplyOatPatchesTo()
1561 Elf_Off offset = GetSectionHeader(1)->sh_offset; in Strip()
1570 if (old_sh->sh_offset == offset) { in Strip()
1577 Begin() + old_sh->sh_offset, in Strip()
1579 new_sh.sh_offset = offset; in Strip()
1880 *offset = shdr->sh_offset; in GetSectionOffsetAndSize()
1892 *offset = shdr->sh_offset; in GetSectionOffsetAndSize()