Home
last modified time | relevance | path

Searched refs:phdr_count (Results 1 – 7 of 7) sorted by relevance

/bionic/linker/
Dlinker_phdr.h49 size_t phdr_count() const { return phdr_num_; } in phdr_count() function
115 size_t phdr_table_get_load_size(const ElfW(Phdr)* phdr_table, size_t phdr_count,
119 size_t phdr_count, ElfW(Addr) load_bias);
121 int phdr_table_unprotect_segments(const ElfW(Phdr)* phdr_table, size_t phdr_count,
124 int phdr_table_protect_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count,
127 int phdr_table_serialize_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count,
130 int phdr_table_map_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count,
134 int phdr_table_get_arm_exidx(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias,
138 void phdr_table_get_dynamic_section(const ElfW(Phdr)* phdr_table, size_t phdr_count,
142 const char* phdr_table_get_interpreter_name(const ElfW(Phdr) * phdr_table, size_t phdr_count,
Dlinker_phdr.cpp482 size_t phdr_table_get_load_size(const ElfW(Phdr)* phdr_table, size_t phdr_count, in phdr_table_get_load_size() argument
489 for (size_t i = 0; i < phdr_count; ++i) { in phdr_table_get_load_size()
738 static int _phdr_table_set_load_prot(const ElfW(Phdr)* phdr_table, size_t phdr_count, in _phdr_table_set_load_prot() argument
741 const ElfW(Phdr)* phdr_limit = phdr + phdr_count; in _phdr_table_set_load_prot()
779 size_t phdr_count, ElfW(Addr) load_bias) { in phdr_table_protect_segments() argument
780 return _phdr_table_set_load_prot(phdr_table, phdr_count, load_bias, 0); in phdr_table_protect_segments()
800 size_t phdr_count, ElfW(Addr) load_bias) { in phdr_table_unprotect_segments() argument
801 return _phdr_table_set_load_prot(phdr_table, phdr_count, load_bias, PROT_WRITE); in phdr_table_unprotect_segments()
807 static int _phdr_table_set_gnu_relro_prot(const ElfW(Phdr)* phdr_table, size_t phdr_count, in _phdr_table_set_gnu_relro_prot() argument
810 const ElfW(Phdr)* phdr_limit = phdr + phdr_count; in _phdr_table_set_gnu_relro_prot()
[all …]
Dlinker_main.cpp64 static void get_elf_base_from_phdr(const ElfW(Phdr)* phdr_table, size_t phdr_count,
197 size_t phdr_count; member
233 result.phdr_count = getauxval(AT_PHNUM); in get_executable_info()
295 result.phdr_count = elf_reader.phdr_count(); in load_executable()
357 si->phnum = exe_info.phdr_count; in linker_main()
533 static void get_elf_base_from_phdr(const ElfW(Phdr)* phdr_table, size_t phdr_count, in get_elf_base_from_phdr() argument
535 for (size_t i = 0; i < phdr_count; ++i) { in get_elf_base_from_phdr()
Dlinker_wrapper.cpp42 static void get_elf_base_from_phdr(const ElfW(Phdr)* phdr_table, size_t phdr_count, in get_elf_base_from_phdr() argument
44 for (size_t i = 0; i < phdr_count; ++i) { in get_elf_base_from_phdr()
Dlinker.cpp604 si_->phnum = elf_reader.phdr_count(); in load()
/bionic/libc/bionic/
Dbionic_elf_tls.cpp56 bool __bionic_get_tls_segment(const ElfW(Phdr)* phdr_table, size_t phdr_count, in __bionic_get_tls_segment() argument
58 for (size_t i = 0; i < phdr_count; ++i) { in __bionic_get_tls_segment()
/bionic/libc/private/
Dbionic_elf_tls.h46 __LIBC_HIDDEN__ bool __bionic_get_tls_segment(const ElfW(Phdr)* phdr_table, size_t phdr_count,