Home | History | Annotate | Download | only in libelf

Lines Matching refs:Elf

1 /* This file defines generic ELF types, structures, and macros.
82 /* The ELF file header. This appears at the start of every ELF file. */
170 /* Get class of the file associated with ELF. */
171 extern int gelf_getclass (Elf *__elf);
175 in the external representation. The binary class is taken from ELF.
176 The result is based on version VERSION of the ELF standard. */
177 extern size_t gelf_fsize (Elf *__elf, Elf_Type __type, size_t __count,
181 extern GElf_Ehdr *gelf_getehdr (Elf *__elf, GElf_Ehdr *__dest);
183 /* Update the ELF header. */
184 extern int gelf_update_ehdr (Elf *__elf, GElf_Ehdr *__src);
186 /* Create new ELF header if none exists. */
187 extern unsigned long int gelf_newehdr (Elf *__elf, int __class);
190 extern Elf_Scn *gelf_offscn (Elf *__elf, GElf_Off __offset);
199 extern GElf_Phdr *gelf_getphdr (Elf *__elf, int __ndx, GElf_Phdr *__dst);
202 extern int gelf_update_phdr (Elf *__elf, int __ndx, GElf_Phdr *__src);
205 extern unsigned long int gelf_newphdr (Elf *__elf, size_t __phnum);
209 by ELF to their memory representation. */
210 extern Elf_Data *gelf_xlatetom (Elf *__elf, Elf_Data *__dest,
214 represented by ELF file representation. */
215 extern Elf_Data *gelf_xlatetof (Elf *__elf, Elf_Data *__dest,
346 /* Compute simple checksum from permanent parts of the ELF file. */
347 extern long int gelf_checksum (Elf *__elf);