HomeSort by relevance Sort by last modified time
    Searched refs:Elf (Results 26 - 50 of 149) sorted by null

12 3 4 5 6

  /external/elfutils/backends/
libebl_CPU.h 36 extern const char *EBLHOOK(init) (Elf *elf, GElf_Half machine,
sh_init.c 40 sh_init (elf, machine, eh, ehlen)
41 Elf *elf __attribute__ ((unused));
i386_symbol.c 32 #include <elf.h>
42 i386_gotpc_reloc_check (Elf *elf __attribute__ ((unused)), int type)
s390_init.c 39 s390_init (elf, machine, eh, ehlen)
40 Elf *elf __attribute__ ((unused));
x86_64_init.c 39 x86_64_init (elf, machine, eh, ehlen)
40 Elf *elf __attribute__ ((unused));
ppc64_symbol.c 32 #include <elf.h>
91 ppc64_check_special_symbol (Elf *elf, GElf_Ehdr *ehdr,
96 const char *sname = elf_strptr (elf, ehdr->e_shstrndx, destshdr->sh_name);
105 ppc64_bss_plt_p (Elf *elf __attribute__ ((unused)),
  /external/elfutils/libelf/
elf_cntl.c 1 /* Control an ELF file desrciptor.
61 elf_cntl (elf, cmd)
62 Elf *elf;
67 if (elf == NULL)
70 if (elf->fildes == -1)
76 rwlock_wrlock (elf->lock);
82 if (elf->map_address == NULL && __libelf_readall (elf) == NULL)
92 elf->fildes = -1
    [all...]
gelf_getehdr.c 1 /* Get ELF header.
64 __gelf_getehdr_rdlock (elf, dest)
65 Elf *elf;
70 if (elf == NULL)
73 if (unlikely (elf->kind != ELF_K_ELF))
81 if (offsetof (struct Elf, state.elf32.ehdr)
82 != offsetof (struct Elf, state.elf64.ehdr))
85 if (unlikely (elf->state.elf64.ehdr == NULL))
86 /* Maybe no ELF header was created yet. *
    [all...]
gelf_xlatetof.c 1 /* Convert from memory to file representation. Generic ELF version.
62 gelf_xlatetof (elf, dest, src, encode)
63 Elf *elf;
68 if (elf == NULL)
71 return (elf->class == ELFCLASS32
gelf_xlatetom.c 1 /* Convert from file to memory representation. Generic ELF version.
62 gelf_xlatetom (elf, dest, src, encode)
63 Elf *elf;
68 if (elf == NULL)
71 return (elf->class == ELFCLASS32
elf32_getehdr.c 1 /* Get ELF header.
66 getehdr_impl (elf, wrlock)
67 Elf *elf;
70 if (elf == NULL)
73 if (unlikely (elf->kind != ELF_K_ELF))
80 if (elf->class == 0)
84 rwlock_unlock (elf->lock);
85 rwlock_wrlock (elf->lock);
89 elf->class = ELFW(ELFCLASS,LIBELFBITS)
    [all...]
elf_getscn.c 63 elf_getscn (elf, idx)
64 Elf *elf;
67 if (elf == NULL)
70 if (unlikely (elf->kind != ELF_K_ELF))
76 rwlock_rdlock (elf->lock);
81 Elf_ScnList *runp = (elf->class == ELFCLASS32
82 || (offsetof (struct Elf, state.elf32.scns)
83 == offsetof (struct Elf, state.elf64.scns))
84 ? &elf->state.elf32.scns : &elf->state.elf64.scns)
    [all...]
elf_nextscn.c 63 elf_nextscn (elf, scn)
64 Elf *elf;
69 if (elf == NULL)
72 rwlock_rdlock (elf->lock);
77 if (elf->class == ELFCLASS32
78 || (offsetof (Elf, state.elf32.scns)
79 == offsetof (Elf, state.elf64.scns)))
81 if (elf->state.elf32.scns.cnt > 1)
82 result = &elf->state.elf32.scns.data[1]
    [all...]
elf_readall.c 64 set_address (Elf *elf, size_t offset)
66 if (elf->kind == ELF_K_AR)
68 Elf *child = elf->state.ar.children;
74 child->map_address = elf->map_address;
89 __libelf_readall (elf)
90 Elf *elf;
93 rwlock_wrlock (elf->lock)
    [all...]
gelf.h 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. *
    [all...]
elf_flagehdr.c 1 /* Manipulate ELF header flags.
62 elf_flagehdr (elf, cmd, flags)
63 Elf *elf;
69 if (elf == NULL)
72 if (unlikely (elf->kind != ELF_K_ELF))
79 result = (elf->state.elf.ehdr_flags |= (flags & ELF_F_DIRTY));
81 result = (elf->state.elf.ehdr_flags &= ~(flags & ELF_F_DIRTY))
    [all...]
elf_flagelf.c 1 /* Manipulate ELF file flags.
62 elf_flagelf (elf, cmd, flags)
63 Elf *elf;
69 if (elf == NULL)
72 if (unlikely (elf->kind != ELF_K_ELF))
79 result = (elf->flags
82 result = (elf->flags
elf_flagphdr.c 1 /* Manipulate ELF program header flags.
62 elf_flagphdr (elf, cmd, flags)
63 Elf *elf;
69 if (elf == NULL)
72 if (unlikely (elf->kind != ELF_K_ELF))
79 result = (elf->state.elf.phdr_flags |= (flags & ELF_F_DIRTY));
81 result = (elf->state.elf.phdr_flags &= ~(flags & ELF_F_DIRTY))
    [all...]
elf_rand.c 62 elf_rand (elf, offset)
63 Elf *elf;
67 if (elf == NULL || elf->kind != ELF_K_AR)
70 rwlock_wrlock (elf->lock);
73 elf->state.ar.offset = elf->start_offset + offset;
76 if (__libelf_next_arhdr_wrlock (elf) != 0)
79 elf->state.ar.elf_ar_hdr.ar_name = NULL
    [all...]
elf_rawfile.c 62 elf_rawfile (elf, ptr)
63 Elf *elf;
68 if (elf == NULL)
79 if (elf->map_address == NULL && __libelf_readall (elf) == NULL)
82 rwlock_rdlock (elf->lock);
84 *ptr = elf->maximum_size;
86 result = (char *) elf->map_address + elf->start_offset
    [all...]
  /external/elfutils/libasm/
disasm_begin.c 38 disasm_begin (Ebl *ebl, Elf *elf, DisasmGetSymCB_t symcb)
57 ctx->elf = elf;
  /external/elfutils/tests/
early-offscn.c 42 /* Set the ELF version. */
50 Elf *elf = elf_begin (fd, ELF_C_READ, NULL); local
51 if (elf == NULL)
54 Elf_Scn *scn = gelf_offscn (elf, strtoull (argv[2], NULL, 0));
58 elf_end (elf);
rdwrmmap.c 18 Elf *elf = elf_begin (fd, ELF_C_RDWR_MMAP, NULL); local
19 if (elf == NULL)
22 if (elf_update (elf, ELF_C_WRITE) < 0)
25 elf_end (elf);
  /external/elfutils/libdwfl/
libdwflP.h 86 DWFL_ERROR (NO_PHDR, N_("No ELF program headers")) \
91 DWFL_ERROR (ALREADY_ELF, N_("ELF file opened")) \
92 DWFL_ERROR (BADELF, N_("not a valid ELF file")) \
138 Elf *elf; member in struct:dwfl_file
164 Elf_Data *symdata; /* Data in the ELF symbol table section. */
246 ELF_C_RDWR_MMAP if you intend to modify the Elf file on disk). After
250 extern Dwfl_Error __libdwfl_relocate (Dwfl_Module *mod, Elf *file, bool debug)
255 extern Dwfl_Error __libdwfl_relocate_section (Dwfl_Module *mod, Elf *relocated,
263 extern Dwfl_Error __libdwfl_relocate_value (Dwfl_Module *mod, Elf *elf
    [all...]
offline.c 73 if (mod->debug.elf == NULL)
81 Elf_Scn *ourscn = elf_getscn (mod->debug.elf, shndx);
84 while ((scn = elf_nextscn (mod->debug.elf, scn)) != ourscn)
96 while ((scn = elf_nextscn (mod->main.elf, scn)) != NULL)
117 const char *file_name, int fd, Elf *elf);
119 const char *file_name, int fd, Elf *elf,
123 /* Report one module for an ELF file, or many for an archive.
124 Always consumes ELF and FD. *
291 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP_PRIVATE, NULL); local
    [all...]

Completed in 243 milliseconds

12 3 4 5 6