Lines Matching refs:phdr_num_
141 : did_read_(false), did_load_(false), fd_(-1), file_offset_(0), file_size_(0), phdr_num_(0), in ElfReader()
311 phdr_num_ = header_.e_phnum; in ReadProgramHeaders()
315 if (phdr_num_ < 1 || phdr_num_ > 65536/sizeof(ElfW(Phdr))) { in ReadProgramHeaders()
316 DL_ERR("\"%s\" has invalid e_phnum: %zd", name_.c_str(), phdr_num_); in ReadProgramHeaders()
321 size_t size = phdr_num_ * sizeof(ElfW(Phdr)); in ReadProgramHeaders()
383 for (size_t i = 0; i < phdr_num_; ++i) { in ReadDynamicSection()
602 load_size_ = phdr_table_get_load_size(phdr_table_, phdr_num_, &min_vaddr); in ReserveAddressSpace()
639 for (size_t i = 0; i < phdr_num_; ++i) { in LoadSegments()
1099 const ElfW(Phdr)* phdr_limit = phdr_table_ + phdr_num_; in FindPhdr()
1131 const ElfW(Phdr)* phdr_limit = phdr_table_ + phdr_num_; in CheckPhdr()
1132 ElfW(Addr) loaded_end = loaded + (phdr_num_ * sizeof(ElfW(Phdr))); in CheckPhdr()