Searched refs:xsh_size (Results 1 – 1 of 1) sorted by relevance
/freebsd/contrib/file/src/ |
H A D | readelf.c | 153 #define xsh_size CAST(size_t, (clazz == ELFCLASS32 \ macro 1505 if (CAST(uintmax_t, (xsh_size + xsh_offset)) > in doshn() 1512 CAST(uintmax_t, xsh_size), in doshn() 1517 if (xsh_size > ms->elf_shsize_max) { in doshn() 1519 "big (%ju > %zu)", (uintmax_t)xsh_size, in doshn() 1523 if ((nbuf = malloc(xsh_size)) == NULL) { in doshn() 1529 if (pread(fd, nbuf, xsh_size, offs) < in doshn() 1530 CAST(ssize_t, xsh_size)) { in doshn() 1541 if (noff >= CAST(off_t, xsh_size)) in doshn() 1544 xsh_size, clazz, swap, 4, flags, notecount, in doshn() [all …]
|