Lines Matching refs:phdr_table

494 size_t phdr_table_get_load_size(const ElfW(Phdr)* phdr_table, size_t phdr_count,  in phdr_table_get_load_size()  argument
502 const ElfW(Phdr)* phdr = &phdr_table[i]; in phdr_table_get_load_size()
536 size_t phdr_table_get_maximum_alignment(const ElfW(Phdr)* phdr_table, size_t phdr_count) { in phdr_table_get_maximum_alignment() argument
540 const ElfW(Phdr)* phdr = &phdr_table[i]; in phdr_table_get_maximum_alignment()
793 static int _phdr_table_set_load_prot(const ElfW(Phdr)* phdr_table, size_t phdr_count, in _phdr_table_set_load_prot() argument
795 const ElfW(Phdr)* phdr = phdr_table; in _phdr_table_set_load_prot()
843 int phdr_table_protect_segments(const ElfW(Phdr)* phdr_table, size_t phdr_count, in phdr_table_protect_segments() argument
851 return _phdr_table_set_load_prot(phdr_table, phdr_count, load_bias, prot); in phdr_table_protect_segments()
870 int phdr_table_unprotect_segments(const ElfW(Phdr)* phdr_table, in phdr_table_unprotect_segments() argument
872 return _phdr_table_set_load_prot(phdr_table, phdr_count, load_bias, PROT_WRITE); in phdr_table_unprotect_segments()
878 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
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()
933 int phdr_table_protect_gnu_relro(const ElfW(Phdr)* phdr_table, in phdr_table_protect_gnu_relro() argument
935 return _phdr_table_set_gnu_relro_prot(phdr_table, phdr_count, load_bias, PROT_READ); in phdr_table_protect_gnu_relro()
951 int phdr_table_serialize_gnu_relro(const ElfW(Phdr)* phdr_table, in phdr_table_serialize_gnu_relro() argument
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()
999 int phdr_table_map_gnu_relro(const ElfW(Phdr)* phdr_table, in phdr_table_map_gnu_relro() argument
1019 const ElfW(Phdr)* phdr = phdr_table; in phdr_table_map_gnu_relro()
1022 for (phdr = phdr_table; phdr < phdr_limit; phdr++) { in phdr_table_map_gnu_relro()
1096 int phdr_table_get_arm_exidx(const ElfW(Phdr)* phdr_table, size_t phdr_count, in phdr_table_get_arm_exidx() argument
1099 const ElfW(Phdr)* phdr = phdr_table; in phdr_table_get_arm_exidx()
1102 for (phdr = phdr_table; phdr < phdr_limit; phdr++) { in phdr_table_get_arm_exidx()
1130 void phdr_table_get_dynamic_section(const ElfW(Phdr)* phdr_table, size_t phdr_count, in phdr_table_get_dynamic_section() argument
1135 const ElfW(Phdr)& phdr = phdr_table[i]; in phdr_table_get_dynamic_section()
1155 const char* phdr_table_get_interpreter_name(const ElfW(Phdr)* phdr_table, size_t phdr_count, in phdr_table_get_interpreter_name() argument
1158 const ElfW(Phdr)& phdr = phdr_table[i]; in phdr_table_get_interpreter_name()