Home
last modified time | relevance | path

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

/system/ulib/launchpad/
A Delf.c29 size_t phdrs_size = (size_t)header.e_phnum * sizeof(elf_phdr_t); in elf_load_start()
33 status = elf_load_read_phdrs(vmo, info->phdrs, phoff, header.e_phnum); in elf_load_start()
48 if (elf_load_find_interp(info->phdrs, info->header.e_phnum, in elf_load_get_interp()
73 for (uint_fast16_t i = 0; i < info->header.e_phnum; ++i) { in elf_load_get_stack_size()
/system/ulib/elfload/
A Delf-load.c60 ehdr.e_phnum == PN_XNUM || in elf_load_prepare()
70 header->e_phnum = ehdr.e_phnum; in elf_load_prepare()
100 for (uint_fast16_t i = 0; i < header->e_phnum; ++i) { in choose_load_bias()
102 uint_fast16_t j = header->e_phnum; in choose_load_bias()
270 for (uint_fast16_t i = 0; status == ZX_OK && i < header->e_phnum; ++i) { in elf_load_map_segments()
/system/core/userboot/
A Duserboot-elf.c34 elf_phdr_t phdrs[header.e_phnum]; in load()
35 status = elf_load_read_phdrs(vmo, phdrs, phoff, header.e_phnum); in load()
39 elf_load_find_interp(phdrs, header.e_phnum, interp_off, interp_len)) in load()
43 for (size_t i = 0; i < header.e_phnum; ++i) { in load()
/system/utest/vdso/
A Dvdso.cpp50 fbl::Array<elf_phdr_t> phdrs(new elf_phdr_t[header.e_phnum], in load_vdso()
51 header.e_phnum); in load_vdso()
53 header.e_phnum); in load_vdso()
/system/ulib/elf-search/
A Delf-search.cpp53 ehdr.e_phnum > 0 && in IsPossibleLoadedEhdr()
219 if (ehdr.e_phnum > kMaxProgramHeaders) { in ForEachModule()
223 auto phdrs = MakeArrayRef(phdrs_buf, ehdr.e_phnum); in ForEachModule()
224 status = reader.ReadArray(map.base + ehdr.e_phoff, phdrs_buf, ehdr.e_phnum); in ForEachModule()
/system/ulib/elfload/include/elfload/
A Delfload.h33 uint_fast16_t e_phnum; member
/system/ulib/inspector/
A Dutils.cpp95 #define ehdr_off_phnum offsetof(Elf32_Ehdr, e_phnum)
111 #define ehdr_off_phnum offsetof(Elf64_Ehdr, e_phnum)
/system/ulib/mini-process/
A Dmini-process.c130 elf_phdr_t phdrs[header.e_phnum]; in start_mini_process_etc()
132 header.e_phnum); in start_mini_process_etc()
/system/ulib/driver-info/
A Ddriver-info.c70 size_t sz = sizeof(elfphdr) * eh.e_phnum; in for_each_note()
79 for (int i = 0; i < eh.e_phnum; i++) { in for_each_note()
/system/utest/elf-search/
A Delf-search-test.cpp43 .e_phnum = static_cast<Elf64_Half>(phdrs.size()), in WriteHeaders()

Completed in 14 milliseconds