Home
last modified time | relevance | path

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

/external/kmod/libkmod/
Dlibkmod-elf.c276 size_t shdrs_size, shdr_size; in kmod_elf_new() local
312 shdr_size = sizeof(Elf32_Shdr); in kmod_elf_new()
316 shdr_size = sizeof(Elf64_Shdr); in kmod_elf_new()
327 if (elf->header.section.entry_size != shdr_size) { in kmod_elf_new()
329 elf->header.section.entry_size, shdr_size); in kmod_elf_new()
332 shdrs_size = shdr_size * elf->header.section.count; in kmod_elf_new()
/external/elfutils/libdwfl/
Ddwfl_module_getdwarf.c435 size_t shdr_size = class32 ? sizeof (Elf32_Shdr) : sizeof (Elf64_Shdr); in find_prelink_address_sync() local
436 if (unlikely (shnum - 1 > SIZE_MAX / shdr_size)) in find_prelink_address_sync()
438 const size_t shdrs_bytes = (shnum - 1) * shdr_size; in find_prelink_address_sync()