Home
last modified time | relevance | path

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

/hyp/misc/elf/src/
A Delf_loader.c92 Elf_Half phnum = ehdr->e_phnum; in elf_valid() local
97 if (util_add_overflows((uintptr_t)phdr, sizeof(phdr) * phnum) || in elf_valid()
98 ((((uintptr_t)phdr + (sizeof(phdr) * phnum)) > area_end))) { in elf_valid()
103 for (i = 0; i < phnum; i++) { in elf_valid()
135 Elf_Half phnum = ehdr->e_phnum; in elf_get_phdr() local
137 assert(index < phnum); in elf_get_phdr()
150 Elf_Half phnum = ehdr->e_phnum; in elf_load_phys() local
153 for (i = 0; i < phnum; i++) { in elf_load_phys()

Completed in 12 milliseconds