Searched refs:phdr_table (Results 1 – 6 of 6) sorted by relevance
/aosp12/bionic/linker/ |
H A D | linker_phdr.h | 120 size_t phdr_table_get_load_size(const ElfW(Phdr)* phdr_table, size_t phdr_count, 123 size_t phdr_table_get_maximum_alignment(const ElfW(Phdr)* phdr_table, size_t phdr_count); 125 int phdr_table_protect_segments(const ElfW(Phdr)* phdr_table, size_t phdr_count, 128 int phdr_table_unprotect_segments(const ElfW(Phdr)* phdr_table, size_t phdr_count, 131 int phdr_table_protect_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count, 134 int phdr_table_serialize_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count, 137 int phdr_table_map_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count, 141 int phdr_table_get_arm_exidx(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias, 145 void phdr_table_get_dynamic_section(const ElfW(Phdr)* phdr_table, size_t phdr_count, 149 const char* phdr_table_get_interpreter_name(const ElfW(Phdr)* phdr_table, size_t phdr_count,
|
H A D | linker_wrapper.cpp | 42 static void get_elf_base_from_phdr(const ElfW(Phdr)* phdr_table, size_t phdr_count, in get_elf_base_from_phdr() argument 45 if (phdr_table[i].p_type == PT_PHDR) { in get_elf_base_from_phdr() 46 *load_bias = reinterpret_cast<ElfW(Addr)>(phdr_table) - phdr_table[i].p_vaddr; in get_elf_base_from_phdr() 47 *base = reinterpret_cast<ElfW(Addr)>(phdr_table) - phdr_table[i].p_offset; in get_elf_base_from_phdr()
|
H A D | linker_phdr.cpp | 502 const ElfW(Phdr)* phdr = &phdr_table[i]; in phdr_table_get_load_size() 540 const ElfW(Phdr)* phdr = &phdr_table[i]; in phdr_table_get_maximum_alignment() 795 const ElfW(Phdr)* phdr = phdr_table; in _phdr_table_set_load_prot() 880 const ElfW(Phdr)* phdr = phdr_table; in _phdr_table_set_gnu_relro_prot() 883 for (phdr = phdr_table; phdr < phdr_limit; phdr++) { in _phdr_table_set_gnu_relro_prot() 956 const ElfW(Phdr)* phdr = phdr_table; in phdr_table_serialize_gnu_relro() 959 for (phdr = phdr_table; phdr < phdr_limit; phdr++) { in phdr_table_serialize_gnu_relro() 1019 const ElfW(Phdr)* phdr = phdr_table; in phdr_table_map_gnu_relro() 1099 const ElfW(Phdr)* phdr = phdr_table; in phdr_table_get_arm_exidx() 1135 const ElfW(Phdr)& phdr = phdr_table[i]; in phdr_table_get_dynamic_section() [all …]
|
H A D | linker_main.cpp | 65 static void get_elf_base_from_phdr(const ElfW(Phdr)* phdr_table, size_t phdr_count, 545 const ElfW(Phdr)* phdr_table = in get_elf_exec_load_bias() 547 const ElfW(Phdr)* phdr_end = phdr_table + elf->e_phnum; in get_elf_exec_load_bias() 549 for (const ElfW(Phdr)* phdr = phdr_table; phdr < phdr_end; phdr++) { in get_elf_exec_load_bias() 562 static void get_elf_base_from_phdr(const ElfW(Phdr)* phdr_table, size_t phdr_count, in get_elf_base_from_phdr() argument 565 if (phdr_table[i].p_type == PT_PHDR) { in get_elf_base_from_phdr() 566 *load_bias = reinterpret_cast<ElfW(Addr)>(phdr_table) - phdr_table[i].p_vaddr; in get_elf_base_from_phdr() 567 *base = reinterpret_cast<ElfW(Addr)>(phdr_table) - phdr_table[i].p_offset; in get_elf_base_from_phdr()
|
/aosp12/bionic/libc/bionic/ |
H A D | bionic_elf_tls.cpp | 57 bool __bionic_get_tls_segment(const ElfW(Phdr)* phdr_table, size_t phdr_count, in __bionic_get_tls_segment() argument 60 const ElfW(Phdr)& phdr = phdr_table[i]; in __bionic_get_tls_segment()
|
/aosp12/bionic/libc/private/ |
H A D | bionic_elf_tls.h | 46 __LIBC_HIDDEN__ bool __bionic_get_tls_segment(const ElfW(Phdr)* phdr_table, size_t phdr_count,
|