Lines Matching refs:Elf32_Phdr
52 We will ignore the p_paddr and p_align fields of Elf32_Phdr for now.
207 if (phdr_num_ < 1 || phdr_num_ > 65536/sizeof(Elf32_Phdr)) {
213 Elf32_Addr page_max = PAGE_END(header_.e_phoff + (phdr_num_ * sizeof(Elf32_Phdr)));
225 phdr_table_ = reinterpret_cast<Elf32_Phdr*>(reinterpret_cast<char*>(mmap_result) + page_offset);
239 size_t phdr_table_get_load_size(const Elf32_Phdr* phdr_table,
249 const Elf32_Phdr* phdr = &phdr_table[i];
310 const Elf32_Phdr* phdr = &phdr_table_[i];
378 _phdr_table_set_load_prot(const Elf32_Phdr* phdr_table,
383 const Elf32_Phdr* phdr = phdr_table;
384 const Elf32_Phdr* phdr_limit = phdr + phdr_count;
415 phdr_table_protect_segments(const Elf32_Phdr* phdr_table,
440 phdr_table_unprotect_segments(const Elf32_Phdr* phdr_table,
452 _phdr_table_set_gnu_relro_prot(const Elf32_Phdr* phdr_table,
457 const Elf32_Phdr* phdr = phdr_table;
458 const Elf32_Phdr* phdr_limit = phdr + phdr_count;
511 phdr_table_protect_gnu_relro(const Elf32_Phdr* phdr_table,
541 phdr_table_get_arm_exidx(const Elf32_Phdr* phdr_table,
547 const Elf32_Phdr* phdr = phdr_table;
548 const Elf32_Phdr* phdr_limit = phdr + phdr_count;
579 phdr_table_get_dynamic_section(const Elf32_Phdr* phdr_table,
586 const Elf32_Phdr* phdr = phdr_table;
587 const Elf32_Phdr* phdr_limit = phdr + phdr_count;
613 const Elf32_Phdr* phdr_limit = phdr_table_ + phdr_num_;
616 for (const Elf32_Phdr* phdr = phdr_table_; phdr < phdr_limit; ++phdr) {
625 for (const Elf32_Phdr* phdr = phdr_table_; phdr < phdr_limit; ++phdr) {
645 const Elf32_Phdr* phdr_limit = phdr_table_ + phdr_num_;
646 Elf32_Addr loaded_end = loaded + (phdr_num_ * sizeof(Elf32_Phdr));
647 for (Elf32_Phdr* phdr = phdr_table_; phdr < phdr_limit; ++phdr) {
654 loaded_phdr_ = reinterpret_cast<const Elf32_Phdr*>(loaded);