HomeSort by relevance Sort by last modified time
    Searched defs:elf (Results 1 - 25 of 48) sorted by null

1 2

  /external/elfutils/0.153/libelf/
gelf_getmove.c 69 Elf *elf; local
92 elf = ((Elf_Data_Scn *) data)->s->elf;
93 rwlock_rdlock (elf->lock);
97 rwlock_unlock (elf->lock);
gelf_getauxv.c 69 Elf *elf; local
80 elf = data_scn->s->elf;
82 rwlock_rdlock (elf->lock);
87 if (elf->class == ELFCLASS32)
127 rwlock_unlock (elf->lock);
gelf_getdyn.c 70 Elf *elf; local
81 elf = data_scn->s->elf;
83 rwlock_rdlock (elf->lock);
88 if (elf->class == ELFCLASS32)
129 rwlock_unlock (elf->lock);
gelf_update_shdr.c 65 Elf *elf; local
70 elf = scn->elf;
71 rwlock_wrlock (elf->lock);
73 if (elf->class == ELFCLASS32)
129 rwlock_unlock (elf->lock);
elf32_getshdr.c 75 Elf *elf = scn->elf; local
76 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr;
84 if (__elf_getshdrnum_rdlock (elf, &shnum) != 0)
89 of entries from the ELF header. */
90 ElfW2(LIBELFBITS,Shdr) *shdr = elf->state.ELFW(elf,LIBELFBITS).shdr =
92 if (elf->state.ELFW(elf,LIBELFBITS).shdr == NULL
    [all...]
elf_getdata.c 63 #include "elf-knowledge.h"
198 Elf *elf = scn->elf; local
200 if (elf->class == ELFCLASS32)
239 GElf_Ehdr *ehdr = __gelf_getehdr_rdlock (elf, &ehdr_mem);
246 || (t == ELF_T_GNUHASH && elf->class == ELFCLASS64))
249 entsize = __libelf_type_sizes[LIBELF_EV_IDX][elf->class - 1][t];
264 if (elf->map_address != NULL)
268 if (unlikely (offset + size > elf->maximum_size)
366 Elf *elf; local
    [all...]
nlist.c 84 Elf *elf; local
102 /* For compatibility reasons (`nlist' existed before ELF and libelf)
103 we don't expect the caller to set the ELF version. Do this here
108 /* Now get an ELF descriptor. */
109 elf = INTUSE(elf_begin) (fd, ELF_C_READ_MMAP, NULL);
110 if (elf == NULL)
115 while ((scn = INTUSE(elf_nextscn) (elf, scn)) != NULL)
150 / INTUSE(gelf_fsize) (elf, ELF_T_SYM, 1, data->d_version));
172 mem.str = INTUSE(elf_strptr) (elf, shdr->sh_link, sym->st_name)
    [all...]
elf_begin.c 73 static inline Elf *
75 Elf_Cmd cmd, Elf *parent)
77 Elf *elf; local
80 elf = allocate_elf (fildes, map_address, offset, maxsize, cmd, parent,
82 if (elf != NULL)
86 elf->state.ar.offset = offset + SARMAG;
88 elf->state.ar.elf_ar_hdr.ar_rawname = elf->state.ar.raw_name;
91 return elf;
292 Elf *elf = allocate_elf (fildes, map_address, offset, maxsize, cmd, parent, local
    [all...]
  /external/elfutils/0.153/libdw/
dwarf_begin.c 67 Elf *elf; local
90 would break libdwarf since we are using the ELF data structures
94 /* Get an ELF descriptor. */
95 elf = elf_begin (fd, elfcmd, NULL);
96 if (elf == NULL)
114 /* Do the real work now that we have an ELF descriptor. */
115 result = INTUSE(dwarf_begin_elf) (elf, cmd, NULL);
119 elf_end (elf);
  /cts/tests/tests/os/src/android/os/cts/
AbiTest.java 52 ReadElf elf = null; local
54 elf = ReadElf.read(f);
56 // If it's not actually an ELF file, we don't care.
58 if (elf != null) {
59 elf.close();
  /art/compiler/sea_ir/code_gen/
code_gen_data.cc 33 std::string elf; local
34 ::llvm::raw_string_ostream out_stream(elf);
88 // Add passes to emit ELF image
96 LOG(FATAL) << "Unable to generate ELF for this target";
102 return elf;
  /external/chromium_org/native_client_sdk/src/tools/lib/tests/
elf_test.py 16 import elf namespace
22 self.assertFalse(elf.IsDynamicElf(static_nexe, False))
27 self.assertTrue(elf.IsDynamicElf(dyn_nexe, False))
28 self.assertFalse(elf.IsDynamicElf(static_nexe, False))
33 self.assertTrue(elf.IsDynamicElf(dyn_nexe, True))
34 self.assertFalse(elf.IsDynamicElf(static_nexe, True))
39 self.assertRaises(elf.Error, elf.ParseElfHeader, __file__)
42 """Test parsing of ARM elf header."""
44 arch, dynamic = elf.ParseElfHeader(static_nexe
    [all...]
  /external/elfutils/0.153/libebl/
libeblP.h 68 /* ELF machine, class, and data encoding. */
74 Elf *elf; member in struct:ebl
90 typedef const char *(*ebl_bhinit_t) (Elf *, GElf_Half, Ebl *, size_t);
  /external/chromium_org/native_client_sdk/src/tools/lib/
get_shared_deps.py 22 import elf namespace
80 dynamic = any(elf.ParseElfHeader(f)[1] for f in main_files)
231 arch = elf.ParseElfHeader(filename)[0]
  /external/elfutils/0.153/libdwfl/
open.c 68 /* Consumes and replaces *ELF only on success. */
70 decompress (int fd __attribute__ ((unused)), Elf **elf)
77 const off64_t offset = (*elf)->start_offset;
78 void *const mapped = ((*elf)->map_address == NULL ? NULL
79 : (*elf)->map_address + offset);
80 const size_t mapped_size = (*elf)->maximum_size;
100 Elf *memelf = elf_memory (buffer, size);
109 elf_end (*elf);
110 *elf = memelf
147 Elf *elf = elf_begin (*fdp, ELF_C_READ_MMAP_PRIVATE, NULL); local
    [all...]
dwfl_report_elf.c 1 /* Report a module to libdwfl based on ELF program headers.
65 int fd, Elf *elf, GElf_Addr base, bool sanity)
67 GElf_Ehdr ehdr_mem, *ehdr = gelf_getehdr (elf, &ehdr_mem);
89 while ((scn = elf_nextscn (elf, scn)) != NULL)
123 prev_scn = elf_nextscn (elf, prev_scn);
194 if (unlikely (elf_getphdrnum (elf, &phnum) != 0))
198 GElf_Phdr phdr_mem, *ph = gelf_getphdr (elf, i, &phdr_mem);
215 GElf_Phdr phdr_mem, *ph = gelf_getphdr (elf, i, &phdr_mem);
251 /* Preinstall the open ELF handle for the module. *
287 Elf *elf; local
    [all...]
elf-from-memory.c 1 /* Reconstruct an ELF file by reading the segments out of remote memory.
62 /* Reconstruct an ELF file by reading the segments out of remote memory
63 based on the ELF file header at EHDR_VMA and the ELF program headers it
74 Elf *
357 Elf *elf = elf_memory ((char *) buffer, contents_size); local
358 if (elf == NULL)
364 elf->flags |= ELF_F_MALLOCED;
367 return 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; local
    [all...]
core-file.c 66 static Elf *
67 elf_begin_rand (Elf *parent, loff_t offset, loff_t size, loff_t *next)
73 inline Elf *fail (int error)
144 dwfl_report_core_segments (Dwfl *dwfl, Elf *elf, size_t phnum, GElf_Phdr *notes)
157 GElf_Phdr *phdr = gelf_getphdr (elf, ndx, &phdr_mem);
194 void *arg, Elf **elfp)
196 Elf *core = arg;
257 Elf *elf = arg local
    [all...]
  /external/elfutils/0.153/src/
ranlib.c 146 copy_content (Elf *elf, int newfd, off_t off, size_t n)
149 char *rawfile = elf_rawfile (elf, &len);
181 /* First we walk through the file, looking for all ELF files to
183 Elf *arelf = elf_begin (fd, ELF_C_READ_MMAP, NULL);
186 error (0, 0, gettext ("cannot create ELF descriptor for '%s': %s"),
206 Elf *elf; local
208 while ((elf = elf_begin (fd, cmd, arelf)) != NULL)
210 Elf_Arhdr *arhdr = elf_getarhdr (elf);
    [all...]
findtextrel.c 102 GElf_Addr addr, Elf *elf, Elf_Scn *symscn, Dwarf *dw,
233 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); local
234 if (elf == NULL)
236 error (0, 0, gettext ("cannot create ELF descriptor for '%s': %s"),
243 GElf_Ehdr *ehdr = gelf_getehdr (elf, &ehdr_mem);
246 error (0, 0, gettext ("cannot get ELF header '%s': %s"),
249 elf_end (elf);
267 while ((scn = elf_nextscn (elf, scn)) != NUL
    [all...]
strings.c 57 static int read_elf (Elf *elf, int fd, const char *fname, off64_t fdlen);
134 /* Mapped parts of the ELF file. */
194 Elf *elf = NULL; local
198 || (elf = elf_begin (fd, ELF_C_READ, NULL)) == NULL
199 || elf_kind (elf) != ELF_K_ELF)
202 result |= read_elf (elf, fd, fname, fdlen);
204 /* This call will succeed even if ELF is NULL. */
205 elf_end (elf);
    [all...]
  /bionic/tests/libs/
Android.mk 31 no-elf-hash-table-library_src_files := \
34 no-elf-hash-table-library_ldflags := \
37 module := no-elf-hash-table-library
  /external/ltrace/
ltrace-elf.h 35 /* XXX Ok, the original idea was to separate the low-level ELF data
43 Elf *elf; member in struct:ltelf
84 /* This is called for every PLT relocation R in ELF file LTE, that
146 /* Read, respectively, 1, 2, 4, or 8 bytes from Elf data at given
  /external/chromium_org/native_client_sdk/src/tools/
create_nmf.py 31 import elf namespace
133 """Wrap elf.ParseElfHeader to return raise this module's Error on failure."""
135 return elf.ParseElfHeader(path)
136 except elf.Error, e:

Completed in 349 milliseconds

1 2