Lines Matching refs:elf_uval
132 unsigned count = elf_uval(elf, elf->ehdr, e_shnum); in elf_shdr_count()
147 return elf_uval(elf, elf->ehdr, e_phnum); in elf_phdr_count()
178 + elf_uval(elf, elf->ehdr, e_shoff) in elf_shdr_by_index()
179 + elf_uval(elf, elf->ehdr, e_shentsize) * index); in elf_shdr_by_index()
192 + elf_uval(elf, elf->ehdr, e_phoff) in elf_phdr_by_index()
193 + elf_uval(elf, elf->ehdr, e_phentsize) * index); in elf_phdr_by_index()
204 return elf_strval(elf, elf->sec_strtab + elf_uval(elf, shdr, sh_name)); in elf_section_name()
236 return ELF_IMAGE_BASE(elf) + elf_uval(elf, shdr, sh_offset); in elf_section_start()
242 + elf_uval(elf, shdr, sh_offset) + elf_uval(elf, shdr, sh_size); in elf_section_end()
248 + elf_uval(elf, phdr, p_offset); in elf_segment_start()
254 + elf_uval(elf, phdr, p_offset) + elf_uval(elf, phdr, p_filesz); in elf_segment_end()
268 info = elf_uval(elf, sym, st_info); in elf_sym_by_name()
269 name = elf_uval(elf, sym, st_name); in elf_sym_by_name()
298 unsigned namesz = (elf_uval(elf, note, namesz) + 3) & ~3; in elf_note_desc()
306 unsigned descsz = elf_uval(elf, note, descsz); in elf_note_numeric()
324 unsigned descsz = elf_uval(elf, note, descsz); in elf_note_numeric_array()
342 unsigned namesz = (elf_uval(elf, note, namesz) + 3) & ~3; in elf_note_next()
343 unsigned descsz = (elf_uval(elf, note, descsz) + 3) & ~3; in elf_note_next()
369 uint64_t p_type = elf_uval(elf, phdr, p_type); in elf_phdr_is_loadable()
370 uint64_t p_flags = elf_uval(elf, phdr, p_flags); in elf_phdr_is_loadable()