Lines Matching refs:elf
84 struct elf { struct
85 Elf *elf; argument
127 struct elf *elf_open_read(const char *name, int flags);
128 struct section *elf_create_section(struct elf *elf, const char *name, unsigned int sh_flags, size_t…
130 int elf_add_reloc(struct elf *elf, struct section *sec, unsigned long offset,
132 int elf_add_reloc_to_insn(struct elf *elf, struct section *sec,
136 int elf_write_insn(struct elf *elf, struct section *sec,
139 int elf_write_reloc(struct elf *elf, struct reloc *reloc);
140 int elf_write(struct elf *elf);
141 void elf_close(struct elf *elf);
143 struct section *find_section_by_name(const struct elf *elf, const char *name);
146 struct symbol *find_symbol_by_name(const struct elf *elf, const char *name);
148 struct reloc *find_reloc_by_dest(const struct elf *elf, struct section *sec, unsigned long offset);
149 struct reloc *find_reloc_by_dest_range(const struct elf *elf, struct section *sec,
154 list_for_each_entry(sec, &file->elf->sections, list)