Home
last modified time | relevance | path

Searched refs:scncnt (Results 1 - 1 of 1) sorted by relevance

/third_party/elfutils/libelf/
H A Delf_begin.c298 size_t scncnt = get_shnum (map_address, e_ident, fildes, offset, maxsize); in file_read_elf() local
299 if (scncnt == (size_t) -1l) in file_read_elf()
306 if (scncnt > SIZE_MAX / (sizeof (Elf_Scn) + sizeof (Elf32_Shdr))) in file_read_elf()
312 else if (scncnt > SIZE_MAX / (sizeof (Elf_Scn) + sizeof (Elf64_Shdr))) in file_read_elf()
320 const size_t scnmax = (scncnt ?: (cmd == ELF_C_RDWR || cmd == ELF_C_RDWR_MMAP) in file_read_elf()
328 assert ((unsigned int) scncnt == scncnt); in file_read_elf()
331 elf->state.elf32.scns.cnt = scncnt; in file_read_elf()
388 if (unlikely (scncnt > 0 && e_shoff >= maxsize) in file_read_elf()
390 < scncnt * sizeo in file_read_elf()
[all...]

Completed in 1 milliseconds