Searched refs:xsh_size (Results 1 – 1 of 1) sorted by relevance
/dragonfly/contrib/file/src/ |
H A D | readelf.c | 153 #define xsh_size CAST(size_t, (clazz == ELFCLASS32 \ macro 1441 if (CAST(uintmax_t, (xsh_size + xsh_offset)) > in doshn() 1448 CAST(uintmax_t, xsh_size), in doshn() 1453 if (xsh_size > MAX_SHSIZE) { in doshn() 1455 "big (%ju > %u)", (uintmax_t)xsh_size, in doshn() 1459 if ((nbuf = malloc(xsh_size)) == NULL) { in doshn() 1465 if (pread(fd, nbuf, xsh_size, offs) < in doshn() 1466 CAST(ssize_t, xsh_size)) { in doshn() 1477 if (noff >= CAST(off_t, xsh_size)) in doshn() 1513 CAST(off_t, xsh_size)) in doshn() [all …]
|