Searched refs:phdr_num_ (Results 1 – 2 of 2) sorted by relevance
124 phdr_num_(0), phdr_mmap_(NULL), phdr_table_(NULL), phdr_size_(0), in ElfReader()213 phdr_num_ = header_.e_phnum; in ReadProgramHeader()217 if (phdr_num_ < 1 || phdr_num_ > 65536/sizeof(ElfW(Phdr))) { in ReadProgramHeader()218 DL_ERR("\"%s\" has invalid e_phnum: %zd", name_, phdr_num_); in ReadProgramHeader()223 ElfW(Addr) page_max = PAGE_END(header_.e_phoff + (phdr_num_ * sizeof(ElfW(Phdr)))); in ReadProgramHeader()293 load_size_ = phdr_table_get_load_size(phdr_table_, phdr_num_, &min_vaddr); in ReserveAddressSpace()335 for (size_t i = 0; i < phdr_num_; ++i) { in LoadSegments()740 const ElfW(Phdr)* phdr_limit = phdr_table_ + phdr_num_; 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()
47 size_t phdr_count() { return phdr_num_; } in phdr_count()66 size_t phdr_num_; variable