Home
last modified time | relevance | path

Searched refs:shnum (Results 1 – 1 of 1) sorted by relevance

/busybox-1.35.0/modutils/
Dmodutils-24.c3239 size_t shnum, i; in obj_load() local
3275 shnum = f->header.e_shnum; in obj_load()
3279 f->sections = xzalloc(sizeof(f->sections[0]) * (shnum + 4)); in obj_load()
3281 section_headers = alloca(sizeof(ElfW(Shdr)) * shnum); in obj_load()
3282 if (image_size < f->header.e_shoff + sizeof(ElfW(Shdr)) * shnum) in obj_load()
3284 memcpy(section_headers, image + f->header.e_shoff, sizeof(ElfW(Shdr)) * shnum); in obj_load()
3288 for (i = 0; i < shnum; ++i) { in obj_load()
3350 for (i = 0; i < shnum; ++i) { in obj_load()
3355 for (i = 0; i < shnum; ++i) { in obj_load()
3394 else if (sym->st_shndx < shnum) in obj_load()