Home
last modified time | relevance | path

Searched refs:shdr (Results 1 – 2 of 2) sorted by relevance

/art/compiler/
Delf_builder.h813 const Elf_Shdr* shdr = section.GetHeader(); in MakeProgramHeader() local
815 CHECK_NE(shdr->sh_flags & SHF_ALLOC, 0u); in MakeProgramHeader()
819 phdr.p_offset = shdr->sh_offset; in MakeProgramHeader()
820 phdr.p_vaddr = shdr->sh_addr; in MakeProgramHeader()
821 phdr.p_paddr = shdr->sh_addr; in MakeProgramHeader()
822 phdr.p_filesz = shdr->sh_type != SHT_NOBITS ? shdr->sh_size : 0u; in MakeProgramHeader()
823 phdr.p_memsz = shdr->sh_size; in MakeProgramHeader()
824 phdr.p_align = shdr->sh_addralign; in MakeProgramHeader()
/art/runtime/
Delf_file.cc1388 Elf_Shdr* shdr = GetSectionHeader(i); in FindSectionByName() local
1389 if (shdr == nullptr) { in FindSectionByName()
1392 const char* sec_name = GetString(*shstrtab_sec, shdr->sh_name); in FindSectionByName()
1397 return shdr; in FindSectionByName()
1875 Elf64_Shdr *shdr = elf64_->FindSectionByName(section_name); in GetSectionOffsetAndSize() local
1876 if (shdr == nullptr) { in GetSectionOffsetAndSize()
1880 *offset = shdr->sh_offset; in GetSectionOffsetAndSize()
1883 *size = shdr->sh_size; in GetSectionOffsetAndSize()
1887 Elf32_Shdr *shdr = elf32_->FindSectionByName(section_name); in GetSectionOffsetAndSize() local
1888 if (shdr == nullptr) { in GetSectionOffsetAndSize()
[all …]