Lines Matching refs:phdr_count
482 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()
863 size_t phdr_count, ElfW(Addr) load_bias) { in phdr_table_protect_gnu_relro() argument
864 return _phdr_table_set_gnu_relro_prot(phdr_table, phdr_count, load_bias, PROT_READ); in phdr_table_protect_gnu_relro()
881 size_t phdr_count, in phdr_table_serialize_gnu_relro() argument
886 const ElfW(Phdr)* phdr_limit = phdr + phdr_count; in phdr_table_serialize_gnu_relro()
929 size_t phdr_count, in phdr_table_map_gnu_relro() argument
949 const ElfW(Phdr)* phdr_limit = phdr + phdr_count; in phdr_table_map_gnu_relro()
1025 int phdr_table_get_arm_exidx(const ElfW(Phdr)* phdr_table, size_t phdr_count, in phdr_table_get_arm_exidx() argument
1029 const ElfW(Phdr)* phdr_limit = phdr + phdr_count; in phdr_table_get_arm_exidx()
1059 void phdr_table_get_dynamic_section(const ElfW(Phdr)* phdr_table, size_t phdr_count, in phdr_table_get_dynamic_section() argument
1063 for (size_t i = 0; i<phdr_count; ++i) { in phdr_table_get_dynamic_section()
1084 const char* phdr_table_get_interpreter_name(const ElfW(Phdr) * phdr_table, size_t phdr_count, in phdr_table_get_interpreter_name() argument
1086 for (size_t i = 0; i<phdr_count; ++i) { in phdr_table_get_interpreter_name()