• Home
  • Raw
  • Download

Lines Matching refs:Phdr

350   if (phdr_num_ < 1 || phdr_num_ > 65536/sizeof(ElfW(Phdr))) {  in ReadProgramHeaders()
356 size_t size = phdr_num_ * sizeof(ElfW(Phdr)); in ReadProgramHeaders()
357 if (!CheckFileRange(header_.e_phoff, size, alignof(ElfW(Phdr)))) { in ReadProgramHeaders()
370 phdr_table_ = static_cast<ElfW(Phdr)*>(phdr_fragment_.data()); in ReadProgramHeaders()
419 const ElfW(Phdr)* phdr = &phdr_table_[i]; in ReadDynamicSection()
517 size_t phdr_table_get_load_size(const ElfW(Phdr)* phdr_table, size_t phdr_count, in phdr_table_get_load_size()
525 const ElfW(Phdr)* phdr = &phdr_table[i]; in phdr_table_get_load_size()
559 size_t phdr_table_get_maximum_alignment(const ElfW(Phdr)* phdr_table, size_t phdr_count) { in phdr_table_get_maximum_alignment()
563 const ElfW(Phdr)* phdr = &phdr_table[i]; in phdr_table_get_maximum_alignment()
733 const ElfW(Phdr)* phdr = &phdr_table_[i]; in ReadPadSegmentNote()
788 static inline void _extend_load_segment_vma(const ElfW(Phdr)* phdr_table, size_t phdr_count, in _extend_load_segment_vma()
791 const ElfW(Phdr)* phdr = &phdr_table[phdr_idx]; in _extend_load_segment_vma()
792 const ElfW(Phdr)* next = nullptr; in _extend_load_segment_vma()
834 const ElfW(Phdr)* phdr = &phdr_table_[i]; in LoadSegments()
971 static int _phdr_table_set_load_prot(const ElfW(Phdr)* phdr_table, size_t phdr_count, in _phdr_table_set_load_prot()
975 const ElfW(Phdr)* phdr = &phdr_table[i]; in _phdr_table_set_load_prot()
1026 int phdr_table_protect_segments(const ElfW(Phdr)* phdr_table, size_t phdr_count, in phdr_table_protect_segments()
1055 int phdr_table_unprotect_segments(const ElfW(Phdr)* phdr_table, in phdr_table_unprotect_segments()
1062 static inline void _extend_gnu_relro_prot_end(const ElfW(Phdr)* relro_phdr, in _extend_gnu_relro_prot_end()
1063 const ElfW(Phdr)* phdr_table, size_t phdr_count, in _extend_gnu_relro_prot_end()
1068 const ElfW(Phdr)* phdr = &phdr_table[index]; in _extend_gnu_relro_prot_end()
1124 static int _phdr_table_set_gnu_relro_prot(const ElfW(Phdr)* phdr_table, size_t phdr_count, in _phdr_table_set_gnu_relro_prot()
1127 const ElfW(Phdr)* phdr = phdr_table; in _phdr_table_set_gnu_relro_prot()
1128 const ElfW(Phdr)* phdr_limit = phdr + phdr_count; in _phdr_table_set_gnu_relro_prot()
1183 int phdr_table_protect_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count, in phdr_table_protect_gnu_relro()
1202 int phdr_table_serialize_gnu_relro(const ElfW(Phdr)* phdr_table, in phdr_table_serialize_gnu_relro()
1207 const ElfW(Phdr)* phdr = phdr_table; in phdr_table_serialize_gnu_relro()
1208 const ElfW(Phdr)* phdr_limit = phdr + phdr_count; in phdr_table_serialize_gnu_relro()
1250 int phdr_table_map_gnu_relro(const ElfW(Phdr)* phdr_table, in phdr_table_map_gnu_relro()
1270 const ElfW(Phdr)* phdr = phdr_table; in phdr_table_map_gnu_relro()
1271 const ElfW(Phdr)* phdr_limit = phdr + phdr_count; in phdr_table_map_gnu_relro()
1342 int phdr_table_get_arm_exidx(const ElfW(Phdr)* phdr_table, size_t phdr_count, in phdr_table_get_arm_exidx()
1345 const ElfW(Phdr)* phdr = phdr_table; in phdr_table_get_arm_exidx()
1346 const ElfW(Phdr)* phdr_limit = phdr + phdr_count; in phdr_table_get_arm_exidx()
1376 void phdr_table_get_dynamic_section(const ElfW(Phdr)* phdr_table, size_t phdr_count, in phdr_table_get_dynamic_section()
1381 const ElfW(Phdr)& phdr = phdr_table[i]; in phdr_table_get_dynamic_section()
1401 const char* phdr_table_get_interpreter_name(const ElfW(Phdr)* phdr_table, size_t phdr_count, in phdr_table_get_interpreter_name()
1404 const ElfW(Phdr)& phdr = phdr_table[i]; in phdr_table_get_interpreter_name()
1416 const ElfW(Phdr)* phdr_limit = phdr_table_ + phdr_num_; in FindPhdr()
1419 for (const ElfW(Phdr)* phdr = phdr_table_; phdr < phdr_limit; ++phdr) { in FindPhdr()
1428 for (const ElfW(Phdr)* phdr = phdr_table_; phdr < phdr_limit; ++phdr) { in FindPhdr()
1457 const ElfW(Phdr)* phdr_limit = phdr_table_ + phdr_num_; in CheckPhdr()
1458 ElfW(Addr) loaded_end = loaded + (phdr_num_ * sizeof(ElfW(Phdr))); in CheckPhdr()
1459 for (const ElfW(Phdr)* phdr = phdr_table_; phdr < phdr_limit; ++phdr) { in CheckPhdr()
1466 loaded_phdr_ = reinterpret_cast<const ElfW(Phdr)*>(loaded); in CheckPhdr()