Home
last modified time | relevance | path

Searched refs:phdr_num_ (Results 1 – 2 of 2) sorted by relevance

/bionic/linker/
Dlinker_phdr.cpp138 phdr_num_(0), phdr_mmap_(nullptr), phdr_table_(nullptr), phdr_size_(0), in ElfReader()
228 phdr_num_ = header_.e_phnum; in ReadProgramHeader()
232 if (phdr_num_ < 1 || phdr_num_ > 65536/sizeof(ElfW(Phdr))) { in ReadProgramHeader()
233 DL_ERR("\"%s\" has invalid e_phnum: %zd", name_, phdr_num_); in ReadProgramHeader()
238 ElfW(Addr) page_max = PAGE_END(header_.e_phoff + (phdr_num_ * sizeof(ElfW(Phdr)))); in ReadProgramHeader()
309 load_size_ = phdr_table_get_load_size(phdr_table_, phdr_num_, &min_vaddr); in ReserveAddressSpace()
357 for (size_t i = 0; i < phdr_num_; ++i) { in LoadSegments()
778 const ElfW(Phdr)* phdr_limit = phdr_table_ + phdr_num_; in FindPhdr()
810 const ElfW(Phdr)* phdr_limit = phdr_table_ + phdr_num_; in CheckPhdr()
811 ElfW(Addr) loaded_end = loaded + (phdr_num_ * sizeof(ElfW(Phdr))); in CheckPhdr()
Dlinker_phdr.h47 size_t phdr_count() { return phdr_num_; } in phdr_count()
68 size_t phdr_num_; variable