Lines Matching refs:elf_uval
56 offset = elf_uval(elf, elf->ehdr, e_phoff) + in elf_init()
57 elf_uval(elf, elf->ehdr, e_phentsize) * elf_phdr_count(elf); in elf_init()
66 offset = elf_uval(elf, elf->ehdr, e_shoff) + in elf_init()
67 elf_uval(elf, elf->ehdr, e_shentsize) * elf_shdr_count(elf); in elf_init()
76 section = elf_uval(elf, elf->ehdr, e_shstrndx); in elf_init()
89 if ( elf_uval(elf, shdr, sh_type) != SHT_SYMTAB ) in elf_init()
92 link = elf_uval(elf, shdr, sh_link); in elf_init()
218 sz = elf_round_up(elf, sz + elf_uval(elf, elf->sym_tab, sh_size)); in elf_parse_bsdsyms()
220 shdr = elf_shdr_by_index(elf, elf_uval(elf, elf->sym_tab, sh_link)); in elf_parse_bsdsyms()
226 if ( elf_uval(elf, shdr, sh_type) != SHT_STRTAB ) in elf_parse_bsdsyms()
230 sz = elf_round_up(elf, sz + elf_uval(elf, shdr, sh_size)); in elf_parse_bsdsyms()
376 link = elf_uval(elf, section_handle, sh_link); in elf_load_bsdsyms()
381 elf_uval(elf, section_handle, sh_size), in elf_load_bsdsyms()
382 elf_uval(elf, section_handle, sh_size)); in elf_load_bsdsyms()
397 elf_uval(elf, section_handle, sh_size)); in elf_load_bsdsyms()
406 if ( elf_uval(elf, section_handle, sh_type) != SHT_STRTAB ) in elf_load_bsdsyms()
415 elf_uval(elf, section_handle, sh_size), in elf_load_bsdsyms()
416 elf_uval(elf, section_handle, sh_size)); in elf_load_bsdsyms()
427 header.size = strtab_base + elf_uval(elf, section_handle, sh_size) - in elf_load_bsdsyms()
482 paddr = elf_uval(elf, phdr, p_paddr); in elf_parse_binary()
483 memsz = elf_uval(elf, phdr, p_memsz); in elf_parse_binary()
519 paddr = elf_uval(elf, phdr, p_paddr); in elf_load_binary()
520 offset = elf_uval(elf, phdr, p_offset); in elf_load_binary()
521 filesz = elf_uval(elf, phdr, p_filesz); in elf_load_binary()
522 memsz = elf_uval(elf, phdr, p_memsz); in elf_load_binary()
566 value = elf_uval(elf, sym, st_value); in elf_lookup_addr()