/external/elfutils/libelf/ |
D | libelf.h | 140 typedef struct Elf Elf; typedef 151 extern Elf *elf_begin (int __fildes, Elf_Cmd __cmd, Elf *__ref); 154 extern Elf *elf_clone (Elf *__elf, Elf_Cmd __cmd); 157 extern Elf *elf_memory (char *__image, size_t __size); 160 extern Elf_Cmd elf_next (Elf *__elf); 163 extern int elf_end (Elf *__elf); 166 extern off_t elf_update (Elf *__elf, Elf_Cmd __cmd); 169 extern Elf_Kind elf_kind (Elf *__elf) __attribute__ ((__pure__)); 172 extern off_t elf_getbase (Elf *__elf); 176 extern char *elf_getident (Elf *__elf, size_t *__ptr); [all …]
|
D | libelfP.h | 32 #define ElfW2_(Bits, Name) Elf##Bits##_##Name 195 struct Elf *elf; /* The underlying ELF file. */ 225 struct Elf struct 256 Elf *parent; argument 264 struct Elf *next; /* Used in list of archive descriptors. */ argument 354 struct Elf *children; /* List of all descriptors for this archive. */ 405 extern Elf *__libelf_read_mmaped_file (int fildes, void *map_address, 407 Elf_Cmd cmd, Elf *parent) 414 extern int __libelf_next_arhdr (Elf *elf) internal_function; 417 extern char *__libelf_readall (Elf *elf) internal_function; [all …]
|
D | common.h | 55 static inline Elf * 57 Elf_Cmd cmd, Elf *parent, Elf_Kind kind, size_t extra) in allocate_elf() 59 Elf *result = (Elf *) calloc (1, sizeof (Elf) + extra); in allocate_elf() 82 libelf_acquire_all (Elf *elf) in libelf_acquire_all() 88 Elf *child = elf->state.ar.children; in libelf_acquire_all() 101 libelf_release_all (Elf *elf) in libelf_release_all() 105 Elf *child = elf->state.ar.children; in libelf_release_all()
|
D | elf_end.c | 32 Elf *elf; in elf_end() 34 Elf *parent; 83 struct Elf *child = parent->state.ar.children; 105 || (offsetof (struct Elf, state.elf32.scns) 106 == offsetof (struct Elf, state.elf64.scns)) 156 || (offsetof (struct Elf, state.elf32.scns) 157 == offsetof (struct Elf, state.elf64.scns)) 168 || (offsetof (struct Elf, state.elf32.shdr) 169 == offsetof (struct Elf, state.elf64.shdr)) 176 || (offsetof (struct Elf, state.elf32.phdr) [all …]
|
D | gelf.h | 138 extern int gelf_getclass (Elf *__elf); 144 extern size_t gelf_fsize (Elf *__elf, Elf_Type __type, size_t __count, 148 extern GElf_Ehdr *gelf_getehdr (Elf *__elf, GElf_Ehdr *__dest); 151 extern int gelf_update_ehdr (Elf *__elf, GElf_Ehdr *__src); 154 extern unsigned long int gelf_newehdr (Elf *__elf, int __class); 163 extern GElf_Phdr *gelf_getphdr (Elf *__elf, int __ndx, GElf_Phdr *__dst); 166 extern int gelf_update_phdr (Elf *__elf, int __ndx, GElf_Phdr *__src); 169 extern unsigned long int gelf_newphdr (Elf *__elf, size_t __phnum); 174 extern Elf_Data *gelf_xlatetom (Elf *__elf, Elf_Data *__dest, 179 extern Elf_Data *gelf_xlatetof (Elf *__elf, Elf_Data *__dest, [all …]
|
D | elf_newscn.c | 33 Elf *elf; in elf_newscn() 43 assert (offsetof (Elf, state.elf.scns_last) 44 == offsetof (Elf, state.elf32.scns_last)); 45 assert (offsetof (Elf, state.elf.scns_last) 46 == offsetof (Elf, state.elf64.scns_last)); 47 assert (offsetof (Elf, state.elf32.scns) 48 == offsetof (Elf, state.elf64.scns)); 60 || (offsetof (Elf, state.elf32.scns) 61 == offsetof (Elf, state.elf64.scns))
|
D | elf_clone.c | 28 Elf * 29 elf_clone (Elf *elf, Elf_Cmd cmd) in elf_clone() 31 Elf *retval = NULL; in elf_clone() 56 assert (offsetof (struct Elf, state.elf32.scns) in elf_clone() 57 == offsetof (struct Elf, state.elf64.scns)); in elf_clone()
|
D | elf_begin.c | 39 static inline Elf * 41 Elf_Cmd cmd, Elf *parent) in file_read_ar() 43 Elf *elf; in file_read_ar() 185 static Elf * 187 Elf_Cmd cmd, Elf *parent) in file_read_elf() 192 Elf *elf; in file_read_elf() 417 Elf * 420 size_t maxsize, Elf_Cmd cmd, Elf *parent) in __libelf_read_mmaped_file() 450 static Elf * 452 Elf *parent) in read_unmmaped_file() [all …]
|
D | elf_getident.c | 29 Elf *elf; in elf_getident() 47 || (offsetof (struct Elf, state.elf32.ehdr) 48 == offsetof (struct Elf, state.elf64.ehdr))
|
D | elf_getshstrndx.c | 33 Elf *elf; in elf_getshstrndx() 51 assert (offsetof (struct Elf, state.elf.ehdr) 52 == offsetof (struct Elf, state.elf32.ehdr)); 55 assert (offsetof (struct Elf, state.elf.ehdr) 56 == offsetof (struct Elf, state.elf64.ehdr));
|
D | elf_getshnum.c | 31 Elf *elf; in elf_getshnum() 52 || (offsetof (Elf, state.elf32.scns) 53 == offsetof (Elf, state.elf64.scns))
|
D | elf_getscn.c | 31 Elf *elf; in elf_getscn() 49 || (offsetof (struct Elf, state.elf32.scns) 50 == offsetof (struct Elf, state.elf64.scns))
|
D | elf_nextscn.c | 31 Elf *elf; in elf_nextscn() 45 || (offsetof (Elf, state.elf32.scns) 46 == offsetof (Elf, state.elf64.scns)))
|
D | elf_readall.c | 29 set_address (Elf *elf, size_t offset) in set_address() 33 Elf *child = elf->state.ar.children; in set_address() 55 Elf *elf; in __libelf_readall()
|
D | elf_strptr.c | 30 Elf *elf; in elf_strptr() 50 || (offsetof (struct Elf, state.elf32.scns) 51 == offsetof (struct Elf, state.elf64.scns))
|
D | elf_getarhdr.c | 31 Elf *elf; in elf_getarhdr() 33 Elf *parent = elf->parent;
|
D | elf_next.c | 31 Elf *elf; in elf_next() 33 Elf *parent;
|
/external/elfutils/libebl/ |
D | libebl_i386.h | 21 extern int i386_init (Elf *elf, GElf_Half machine, Ebl *eh, size_t ehlen); 34 extern bool i386_reloc_valid_use (Elf *elf, int type); 37 extern bool i386_gotpc_reloc_check (Elf *elf, int type);
|
D | libebl.h | 35 Elf *elf; 47 bool (*reloc_valid_use) (Elf *, int); 50 bool (*gotpc_reloc_check) (Elf *, int); 109 extern Ebl *ebl_openbackend (Elf *elf);
|
D | eblopenbackend.c | 125 static bool default_reloc_valid_use (Elf *elf, int ignore); 126 static bool default_gotpc_reloc_check (Elf *elf, int ignore); 159 Elf *elf; in openbackend() 287 Elf *elf; in ebl_openbackend() 342 default_reloc_valid_use (Elf *elf, int ignore) in default_reloc_valid_use() 348 default_gotpc_reloc_check (Elf *elf, int ignore) in default_gotpc_reloc_check()
|
D | libebl_x86_64.h | 21 extern int x86_64_init (Elf *elf, GElf_Half machine, Ebl *eh, size_t ehlen); 34 extern bool x86_64_reloc_valid_use (Elf *elf, int type);
|
D | libebl_ppc.h | 21 extern int ppc_init (Elf *elf, GElf_Half machine, Ebl *eh, size_t ehlen); 34 extern bool ppc_reloc_valid_use (Elf *elf, int type);
|
D | libebl_ppc64.h | 21 extern int ppc64_init (Elf *elf, GElf_Half machine, Ebl *eh, size_t ehlen); 34 extern bool ppc64_reloc_valid_use (Elf *elf, int type);
|
/external/elfutils/tests/ |
D | sectiondump.c | 27 static int handle_section (Elf *elf, Elf_Scn *scn); 29 static void print_symtab (Elf *elf, Elf_Data *data); 35 Elf *elf; in main() 74 handle_section (Elf *elf, Elf_Scn *scn) in handle_section() 159 print_symtab (Elf *elf, Elf_Data *data) in print_symtab()
|
/external/elfutils/src/ |
D | size.c | 91 static int handle_ar (int fd, Elf *elf, const char *prefix, const char *fname); 94 static void handle_elf (Elf *elf, const char *fullname, const char *fname); 302 Elf *elf; in process_file() 344 print_header (Elf *elf) in print_header() 367 handle_ar (int fd, Elf *elf, const char *prefix, const char *fname) in handle_ar() 369 Elf *subelf; in handle_ar() 415 show_sysv (Elf *elf, const char *prefix, const char *fname, in show_sysv() 491 show_sysv_one_line (Elf *elf, const char *prefix, const char *fname, in show_sysv_one_line() 549 show_bsd (Elf *elf, const char *prefix, const char *fname, in show_bsd() 620 show_segments (Elf *elf, const char *prefix, const char *fname, in show_segments() [all …]
|