Searched refs:phdr_table (Results 1 – 6 of 6) sorted by relevance
/bionic/linker/ |
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,
|
D | linker_wrapper.cpp | 44 static void get_elf_base_from_phdr(const ElfW(Phdr)* phdr_table, size_t phdr_count, in get_elf_base_from_phdr() argument 47 if (phdr_table[i].p_type == PT_PHDR) { in get_elf_base_from_phdr() 48 *load_bias = reinterpret_cast<ElfW(Addr)>(phdr_table) - phdr_table[i].p_vaddr; in get_elf_base_from_phdr() 49 *base = reinterpret_cast<ElfW(Addr)>(phdr_table) - phdr_table[i].p_offset; in get_elf_base_from_phdr()
|
D | linker_phdr.cpp | 505 size_t phdr_table_get_load_size(const ElfW(Phdr)* phdr_table, size_t phdr_count, in phdr_table_get_load_size() argument 513 const ElfW(Phdr)* phdr = &phdr_table[i]; in phdr_table_get_load_size() 547 size_t phdr_table_get_maximum_alignment(const ElfW(Phdr)* phdr_table, size_t phdr_count) { in phdr_table_get_maximum_alignment() argument 551 const ElfW(Phdr)* phdr = &phdr_table[i]; in phdr_table_get_maximum_alignment() 804 static int _phdr_table_set_load_prot(const ElfW(Phdr)* phdr_table, size_t phdr_count, in _phdr_table_set_load_prot() argument 806 const ElfW(Phdr)* phdr = phdr_table; in _phdr_table_set_load_prot() 854 int phdr_table_protect_segments(const ElfW(Phdr)* phdr_table, size_t phdr_count, in phdr_table_protect_segments() argument 862 return _phdr_table_set_load_prot(phdr_table, phdr_count, load_bias, prot); in phdr_table_protect_segments() 881 int phdr_table_unprotect_segments(const ElfW(Phdr)* phdr_table, in phdr_table_unprotect_segments() argument 883 return _phdr_table_set_load_prot(phdr_table, phdr_count, load_bias, PROT_WRITE); in phdr_table_unprotect_segments() [all …]
|
D | linker_main.cpp | 65 static void get_elf_base_from_phdr(const ElfW(Phdr)* phdr_table, size_t phdr_count, 540 const ElfW(Phdr)* phdr_table = in get_elf_exec_load_bias() 542 const ElfW(Phdr)* phdr_end = phdr_table + elf->e_phnum; in get_elf_exec_load_bias() 544 for (const ElfW(Phdr)* phdr = phdr_table; phdr < phdr_end; phdr++) { in get_elf_exec_load_bias() 557 static void get_elf_base_from_phdr(const ElfW(Phdr)* phdr_table, size_t phdr_count, in get_elf_base_from_phdr() argument 560 if (phdr_table[i].p_type == PT_PHDR) { in get_elf_base_from_phdr() 561 *load_bias = reinterpret_cast<ElfW(Addr)>(phdr_table) - phdr_table[i].p_vaddr; in get_elf_base_from_phdr() 562 *base = reinterpret_cast<ElfW(Addr)>(phdr_table) - phdr_table[i].p_offset; in get_elf_base_from_phdr()
|
/bionic/libc/bionic/ |
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()
|
/bionic/libc/private/ |
D | bionic_elf_tls.h | 46 __LIBC_HIDDEN__ bool __bionic_get_tls_segment(const ElfW(Phdr)* phdr_table, size_t phdr_count,
|