Lines Matching refs:shdr
1364 Elf_Shdr* shdr = GetSectionHeader(i); in FindSectionByName() local
1365 if (shdr == nullptr) { in FindSectionByName()
1368 const char* sec_name = GetString(*shstrtab_sec, shdr->sh_name); in FindSectionByName()
1373 return shdr; in FindSectionByName()
1844 Elf64_Shdr *shdr = elf64_->FindSectionByName(section_name); in GetSectionOffsetAndSize() local
1845 if (shdr == nullptr) { in GetSectionOffsetAndSize()
1849 *offset = shdr->sh_offset; in GetSectionOffsetAndSize()
1852 *size = shdr->sh_size; in GetSectionOffsetAndSize()
1856 Elf32_Shdr *shdr = elf32_->FindSectionByName(section_name); in GetSectionOffsetAndSize() local
1857 if (shdr == nullptr) { in GetSectionOffsetAndSize()
1861 *offset = shdr->sh_offset; in GetSectionOffsetAndSize()
1864 *size = shdr->sh_size; in GetSectionOffsetAndSize()