Lines Matching refs:elf_ptrval
33 static bool elf_ptrval_in_range(elf_ptrval ptrval, uint64_t size, in elf_ptrval_in_range()
45 elf_ptrval regionp = (elf_ptrval)region; in elf_ptrval_in_range()
68 void elf_memcpy_safe(struct elf_binary *elf, elf_ptrval dst, in elf_memcpy_safe()
69 elf_ptrval src, size_t size) in elf_memcpy_safe()
81 void elf_memset_safe(struct elf_binary *elf, elf_ptrval dst, int c, size_t size) in elf_memset_safe()
89 uint64_t elf_access_unsigned(struct elf_binary * elf, elf_ptrval base, in elf_access_unsigned()
92 elf_ptrval ptrval = base + moreoffset; in elf_access_unsigned()
172 elf_ptrval ptr; in elf_shdr_by_index()
186 elf_ptrval ptr; in elf_phdr_by_index()
207 const char *elf_strval(struct elf_binary *elf, elf_ptrval start) in elf_strval()
225 const char *elf_strfmt(struct elf_binary *elf, elf_ptrval start) in elf_strfmt()
234 elf_ptrval elf_section_start(struct elf_binary *elf, ELF_HANDLE_DECL(elf_shdr) shdr) in elf_section_start()
239 elf_ptrval elf_section_end(struct elf_binary *elf, ELF_HANDLE_DECL(elf_shdr) shdr) in elf_section_end()
245 elf_ptrval elf_segment_start(struct elf_binary *elf, ELF_HANDLE_DECL(elf_phdr) phdr) in elf_segment_start()
251 elf_ptrval elf_segment_end(struct elf_binary *elf, ELF_HANDLE_DECL(elf_phdr) phdr) in elf_segment_end()
259 elf_ptrval ptr = elf_section_start(elf, elf->sym_tab); in elf_sym_by_name()
260 elf_ptrval end = elf_section_end(elf, elf->sym_tab); in elf_sym_by_name()
284 elf_ptrval ptr = elf_section_start(elf, elf->sym_tab); in elf_sym_by_index()
296 elf_ptrval elf_note_desc(struct elf_binary *elf, ELF_HANDLE_DECL(elf_note) note) in elf_note_desc()
305 elf_ptrval desc = elf_note_desc(elf, note); in elf_note_numeric()
323 elf_ptrval desc = elf_note_desc(elf, note); in elf_note_numeric_array()
345 elf_ptrval ptrval = ELF_HANDLE_PTRVAL(note) in elf_note_next()