• Home
  • Raw
  • Download

Lines Matching refs:phdr_table

485 size_t phdr_table_get_load_size(const ElfW(Phdr)* phdr_table, size_t phdr_count,  in phdr_table_get_load_size()  argument
493 const ElfW(Phdr)* phdr = &phdr_table[i]; in phdr_table_get_load_size()
696 static int _phdr_table_set_load_prot(const ElfW(Phdr)* phdr_table, size_t phdr_count, in _phdr_table_set_load_prot() argument
698 const ElfW(Phdr)* phdr = phdr_table; in _phdr_table_set_load_prot()
736 int phdr_table_protect_segments(const ElfW(Phdr)* phdr_table, in phdr_table_protect_segments() argument
738 return _phdr_table_set_load_prot(phdr_table, phdr_count, load_bias, 0); in phdr_table_protect_segments()
757 int phdr_table_unprotect_segments(const ElfW(Phdr)* phdr_table, in phdr_table_unprotect_segments() argument
759 return _phdr_table_set_load_prot(phdr_table, phdr_count, load_bias, PROT_WRITE); in phdr_table_unprotect_segments()
765 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
767 const ElfW(Phdr)* phdr = phdr_table; in _phdr_table_set_gnu_relro_prot()
770 for (phdr = phdr_table; phdr < phdr_limit; phdr++) { in _phdr_table_set_gnu_relro_prot()
820 int phdr_table_protect_gnu_relro(const ElfW(Phdr)* phdr_table, in phdr_table_protect_gnu_relro() argument
822 return _phdr_table_set_gnu_relro_prot(phdr_table, phdr_count, load_bias, PROT_READ); in phdr_table_protect_gnu_relro()
838 int phdr_table_serialize_gnu_relro(const ElfW(Phdr)* phdr_table, in phdr_table_serialize_gnu_relro() argument
843 const ElfW(Phdr)* phdr = phdr_table; in phdr_table_serialize_gnu_relro()
846 for (phdr = phdr_table; phdr < phdr_limit; phdr++) { in phdr_table_serialize_gnu_relro()
886 int phdr_table_map_gnu_relro(const ElfW(Phdr)* phdr_table, in phdr_table_map_gnu_relro() argument
906 const ElfW(Phdr)* phdr = phdr_table; in phdr_table_map_gnu_relro()
909 for (phdr = phdr_table; phdr < phdr_limit; phdr++) { in phdr_table_map_gnu_relro()
983 int phdr_table_get_arm_exidx(const ElfW(Phdr)* phdr_table, size_t phdr_count, in phdr_table_get_arm_exidx() argument
986 const ElfW(Phdr)* phdr = phdr_table; in phdr_table_get_arm_exidx()
989 for (phdr = phdr_table; phdr < phdr_limit; phdr++) { in phdr_table_get_arm_exidx()
1017 void phdr_table_get_dynamic_section(const ElfW(Phdr)* phdr_table, size_t phdr_count, in phdr_table_get_dynamic_section() argument
1022 const ElfW(Phdr)& phdr = phdr_table[i]; in phdr_table_get_dynamic_section()
1042 const char* phdr_table_get_interpreter_name(const ElfW(Phdr) * phdr_table, size_t phdr_count, in phdr_table_get_interpreter_name() argument
1045 const ElfW(Phdr)& phdr = phdr_table[i]; in phdr_table_get_interpreter_name()