Lines Matching refs:elf_binary

22 void elf_mark_broken(struct elf_binary *elf, const char *msg)  in elf_mark_broken()
28 const char *elf_check_broken(const struct elf_binary *elf) in elf_check_broken()
55 bool elf_access_ok(struct elf_binary * elf, in elf_access_ok()
68 void elf_memcpy_safe(struct elf_binary *elf, elf_ptrval dst, 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()
121 uint64_t elf_round_up(struct elf_binary *elf, uint64_t addr) in elf_round_up()
130 unsigned elf_shdr_count(struct elf_binary *elf) in elf_shdr_count()
145 unsigned elf_phdr_count(struct elf_binary *elf) in elf_phdr_count()
150 ELF_HANDLE_DECL(elf_shdr) elf_shdr_by_name(struct elf_binary *elf, const char *name) in elf_shdr_by_name()
169 ELF_HANDLE_DECL(elf_shdr) elf_shdr_by_index(struct elf_binary *elf, unsigned index) in elf_shdr_by_index()
183 ELF_HANDLE_DECL(elf_phdr) elf_phdr_by_index(struct elf_binary *elf, unsigned index) in elf_phdr_by_index()
198 const char *elf_section_name(struct elf_binary *elf, in elf_section_name()
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()
257 ELF_HANDLE_DECL(elf_sym) elf_sym_by_name(struct elf_binary *elf, const char *symbol) in elf_sym_by_name()
282 ELF_HANDLE_DECL(elf_sym) elf_sym_by_index(struct elf_binary *elf, unsigned index) in elf_sym_by_index()
291 const char *elf_note_name(struct elf_binary *elf, ELF_HANDLE_DECL(elf_note) note) in elf_note_name()
296 elf_ptrval elf_note_desc(struct elf_binary *elf, ELF_HANDLE_DECL(elf_note) note) in elf_note_desc()
303 uint64_t elf_note_numeric(struct elf_binary *elf, ELF_HANDLE_DECL(elf_note) note) in elf_note_numeric()
320 uint64_t elf_note_numeric_array(struct elf_binary *elf, ELF_HANDLE_DECL(elf_note) note, in elf_note_numeric_array()
340 ELF_HANDLE_DECL(elf_note) elf_note_next(struct elf_binary *elf, ELF_HANDLE_DECL(elf_note) note) in elf_note_next()
367 bool elf_phdr_is_loadable(struct elf_binary *elf, ELF_HANDLE_DECL(elf_phdr) phdr) in elf_phdr_is_loadable()
375 void elf_set_xdest(struct elf_binary *elf, void *addr, uint64_t size) in elf_set_xdest()