• Home
  • Raw
  • Download

Lines Matching refs:Phdr

217   if (phdr_num_ < 1 || phdr_num_ > 65536/sizeof(ElfW(Phdr))) {  in ReadProgramHeader()
223 ElfW(Addr) page_max = PAGE_END(header_.e_phoff + (phdr_num_ * sizeof(ElfW(Phdr)))); in ReadProgramHeader()
235 phdr_table_ = reinterpret_cast<ElfW(Phdr)*>(reinterpret_cast<char*>(mmap_result) + page_offset); in ReadProgramHeader()
249 size_t phdr_table_get_load_size(const ElfW(Phdr)* phdr_table, size_t phdr_count, in phdr_table_get_load_size()
257 const ElfW(Phdr)* phdr = &phdr_table[i]; in phdr_table_get_load_size()
336 const ElfW(Phdr)* phdr = &phdr_table_[i]; in LoadSegments()
403 static int _phdr_table_set_load_prot(const ElfW(Phdr)* phdr_table, size_t phdr_count, in _phdr_table_set_load_prot()
405 const ElfW(Phdr)* phdr = phdr_table; in _phdr_table_set_load_prot()
406 const ElfW(Phdr)* phdr_limit = phdr + phdr_count; in _phdr_table_set_load_prot()
437 int phdr_table_protect_segments(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bi… in phdr_table_protect_segments()
457 int phdr_table_unprotect_segments(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_… in phdr_table_unprotect_segments()
464 static int _phdr_table_set_gnu_relro_prot(const ElfW(Phdr)* phdr_table, size_t phdr_count, in _phdr_table_set_gnu_relro_prot()
466 const ElfW(Phdr)* phdr = phdr_table; in _phdr_table_set_gnu_relro_prot()
467 const ElfW(Phdr)* phdr_limit = phdr + phdr_count; in _phdr_table_set_gnu_relro_prot()
519 int phdr_table_protect_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_b… in phdr_table_protect_gnu_relro()
535 int phdr_table_serialize_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load… in phdr_table_serialize_gnu_relro()
537 const ElfW(Phdr)* phdr = phdr_table; in phdr_table_serialize_gnu_relro()
538 const ElfW(Phdr)* phdr_limit = phdr + phdr_count; in phdr_table_serialize_gnu_relro()
580 int phdr_table_map_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias, in phdr_table_map_gnu_relro()
598 const ElfW(Phdr)* phdr = phdr_table; in phdr_table_map_gnu_relro()
599 const ElfW(Phdr)* phdr_limit = phdr + phdr_count; in phdr_table_map_gnu_relro()
675 int phdr_table_get_arm_exidx(const ElfW(Phdr)* phdr_table, size_t phdr_count, in phdr_table_get_arm_exidx()
678 const ElfW(Phdr)* phdr = phdr_table; in phdr_table_get_arm_exidx()
679 const ElfW(Phdr)* phdr_limit = phdr + phdr_count; in phdr_table_get_arm_exidx()
710 void phdr_table_get_dynamic_section(const ElfW(Phdr)* phdr_table, size_t phdr_count, in phdr_table_get_dynamic_section()
713 const ElfW(Phdr)* phdr = phdr_table; in phdr_table_get_dynamic_section()
714 const ElfW(Phdr)* phdr_limit = phdr + phdr_count; in phdr_table_get_dynamic_section()
740 const ElfW(Phdr)* phdr_limit = phdr_table_ + phdr_num_; in FindPhdr()
743 for (const ElfW(Phdr)* phdr = phdr_table_; phdr < phdr_limit; ++phdr) { in FindPhdr()
752 for (const ElfW(Phdr)* phdr = phdr_table_; phdr < phdr_limit; ++phdr) { in FindPhdr()
772 const ElfW(Phdr)* phdr_limit = phdr_table_ + phdr_num_; in CheckPhdr()
773 ElfW(Addr) loaded_end = loaded + (phdr_num_ * sizeof(ElfW(Phdr))); in CheckPhdr()
774 for (ElfW(Phdr)* phdr = phdr_table_; phdr < phdr_limit; ++phdr) { in CheckPhdr()
781 loaded_phdr_ = reinterpret_cast<const ElfW(Phdr)*>(loaded); in CheckPhdr()