Searched refs:shnum (Results 1 – 2 of 2) sorted by relevance
34 section = calloc(sizeof(Elf32_Shdr), hdr->shnum); in elf_read_sections()40 count = fread(section, sizeof(Elf32_Shdr), hdr->shnum, module->fd); in elf_read_sections()41 if (count != hdr->shnum) { in elf_read_sections()78 for (i = 0; i < hdr->shnum; i++) { in elf_read_sections()213 module->elf_file, hdr->shnum); in elf_read_hdr()278 module->hdr.shnum); in elf_module_limits()283 for (i = 0; i < module->hdr.shnum; i++) { in elf_module_limits()318 for (i = 0; i < module->hdr.shnum; i++) { in elf_validate_section()363 for (i = 0; i < module->hdr.shnum; i++) { in elf_validate_module()413 for (i = 0; i < hdr->shnum; i++) { in elf_find_section()
388 Elf32_Half shnum; /* Number of section header entries. */ member816 Elf64_Half shnum; /* Number of section header entries. */ member