Home | History | Annotate | Download | only in libelf

Lines Matching refs:scncnt

264   size_t scncnt = get_shnum (map_address, e_ident, fildes, offset, maxsize);
265 if (scncnt == (size_t) -1l)
272 if (scncnt > SIZE_MAX / (sizeof (Elf_Scn) + sizeof (Elf32_Shdr)))
275 else if (scncnt > SIZE_MAX / (sizeof (Elf_Scn) + sizeof (Elf64_Shdr)))
280 const size_t scnmax = (scncnt ?: (cmd == ELF_C_RDWR || cmd == ELF_C_RDWR_MMAP)
288 assert ((unsigned int) scncnt == scncnt);
291 elf->state.elf32.scns.cnt = scncnt;
350 < scncnt * sizeof (Elf32_Shdr)))
360 for (size_t cnt = 0; cnt < scncnt; ++cnt)
379 && elf->state.elf32.shdr[cnt].sh_link < scncnt)
391 for (size_t cnt = 0; cnt < scncnt; ++cnt)
452 < scncnt * sizeof (Elf64_Shdr)))
457 for (size_t cnt = 0; cnt < scncnt; ++cnt)
476 && elf->state.elf64.shdr[cnt].sh_link < scncnt)
488 for (size_t cnt = 0; cnt < scncnt; ++cnt)