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

1 2 3 4 5 6

  /external/elfutils/libelf/
gelf_getmove.c 45 Elf *elf; local
68 elf = ((Elf_Data_Scn *) data)->s->elf;
69 rwlock_rdlock (elf->lock);
73 rwlock_unlock (elf->lock);
gelf_getauxv.c 45 Elf *elf; local
56 elf = data_scn->s->elf;
58 rwlock_rdlock (elf->lock);
63 if (elf->class == ELFCLASS32)
104 rwlock_unlock (elf->lock);
gelf_getdyn.c 46 Elf *elf; local
57 elf = data_scn->s->elf;
59 rwlock_rdlock (elf->lock);
64 if (elf->class == ELFCLASS32)
105 rwlock_unlock (elf->lock);
gelf_update_shdr.c 44 Elf *elf; local
49 elf = scn->elf;
50 rwlock_wrlock (elf->lock);
52 if (elf->class == ELFCLASS32)
108 rwlock_unlock (elf->lock);
elf32_getshdr.c 54 Elf *elf = scn->elf; local
55 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr;
63 if (__elf_getshdrnum_rdlock (elf, &shnum) != 0
69 of entries from the ELF header. */
70 ElfW2(LIBELFBITS,Shdr) *shdr = elf->state.ELFW(elf,LIBELFBITS).shdr =
72 if (elf->state.ELFW(elf,LIBELFBITS).shdr == NULL
    [all...]
  /external/elfutils/tests/
early-offscn.c 34 /* Set the ELF version. */
42 Elf *elf = elf_begin (fd, ELF_C_READ, NULL); local
43 if (elf == NULL)
46 Elf_Scn *scn = gelf_offscn (elf, strtoull (argv[2], NULL, 0));
50 elf_end (elf);
rdwrmmap.c 38 Elf *elf = elf_begin (fd, ELF_C_RDWR_MMAP, NULL); local
39 if (elf == NULL)
42 if (elf_update (elf, ELF_C_WRITE) < 0)
45 elf_end (elf);
newscn.c 32 Elf *elf; local
51 elf = elf_begin (fd, ELF_C_WRITE, NULL);
52 if (elf == NULL)
58 section = elf_newscn (elf);
59 section = elf_nextscn (elf, section);
62 elf_end (elf);
debuglink.c 47 Elf *elf = elf_begin (fd, ELF_C_READ, NULL); local
48 if (elf == NULL)
53 const char *debug = dwelf_elf_gnu_debuglink (elf, &crc);
59 elf_end (elf);
strptr.c 30 #include ELFUTILS_HEADER(elf)
38 printf ("No ELF file given as argument");
47 /* Read the ELF from disk now. */
55 Elf *elf = elf_begin (fd, ELF_C_READ, NULL); local
56 if (elf == NULL)
58 printf ("cannot create ELF descriptor read-only: %s\n", elf_errmsg (-1));
63 if (elf_getshdrstrndx (elf, &ndx) != 0)
71 printf ("ELF file `%s' doesn't have a section header table index", fname);
78 const char *str = elf_strptr (elf, ndx, off)
    [all...]
update1.c 37 Elf *elf; local
50 elf = elf_begin (fd, ELF_C_WRITE, NULL);
51 if (elf == NULL)
53 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1));
57 /* Create an ELF header. */
58 ehdr = elf32_newehdr (elf);
61 printf ("cannot create ELF header: %s\n", elf_errmsg (-1));
65 /* Print the ELF header values. */
89 if (elf_update (elf, ELF_C_WRITE) < 0
    [all...]
update2.c 37 Elf *elf; local
51 elf = elf_begin (fd, ELF_C_WRITE, NULL);
52 if (elf == NULL)
54 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1));
58 /* Create an ELF header. */
59 ehdr = elf32_newehdr (elf);
62 printf ("cannot create ELF header: %s\n", elf_errmsg (-1));
66 /* Print the ELF header values. */
88 elf_flagehdr (elf, ELF_C_SET, ELF_F_DIRTY)
    [all...]
arls.c 57 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); local
58 if (elf == NULL)
60 printf ("cannot get ELF handling for '%s': %s\n",
66 if (elf_kind (elf) != ELF_K_AR)
69 elf_end (elf);
75 Elf *subelf = NULL;
77 while ((subelf = elf_begin (fd, cmd, elf)) != NULL)
85 elf_end (elf);
arsymtest.c 32 Elf *elf; local
55 /* Set the ELF version. */
58 /* Create an ELF descriptor. */
59 elf = elf_begin (fd, ELF_C_READ, NULL);
60 if (elf == NULL)
62 printf ("Cannot create ELF descriptor: %s\n", elf_errmsg (-1));
67 if (elf_kind (elf) != ELF_K_AR)
74 arsym = elf_getarsym (elf, &narsym);
87 Elf *subelf
    [all...]
buildid.c 23 #include ELFUTILS_HEADER(elf)
49 Elf *elf = elf_begin (fd, ELF_C_READ, NULL); local
50 if (elf == NULL)
58 ssize_t len = dwelf_elf_gnu_build_id (elf, &build_id);
76 elf_end (elf);
scnnames.c 30 Elf *elf; local
51 elf = elf_begin (fd, ELF_C_READ, NULL);
52 if (elf == NULL)
54 printf ("cannot open ELF file: %s\n", elf_errmsg (-1));
58 if (elf_kind (elf) != ELF_K_ELF)
60 printf ("\"%s\" is not an ELF file\n", argv[1]);
64 if (gelf_getehdr (elf, &ehdr) == NULL)
66 printf ("cannot get the ELF header: %s\n", elf_errmsg (-1));
73 while ((scn = elf_nextscn (elf, scn)) != NULL
    [all...]
test-elf_cntl_gelf_getshdr.c 41 fprintf (stderr, "Second is the ELF file to read.\n");
78 Elf *elf = elf_begin (fd, do_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); local
79 if (elf == NULL)
88 if (elf_cntl (elf, ELF_C_FDREAD) < 0)
98 while ((scn = elf_nextscn (elf, scn)) != NULL)
105 elf_end (elf);
  /prebuilts/go/darwin-x86/src/debug/elf/
elf_test.go 5 package elf package
symbols_test.go 5 package elf package
reader.go 5 package elf package
  /prebuilts/go/linux-x86/src/debug/elf/
elf_test.go 5 package elf package
symbols_test.go 5 package elf package
reader.go 5 package elf package
  /external/elfutils/libdw/
dwarf_begin.c 44 Elf *elf; local
67 would break libdwarf since we are using the ELF data structures
71 /* Get an ELF descriptor. */
72 elf = elf_begin (fd, elfcmd, NULL);
73 if (elf == NULL)
87 /* Do the real work now that we have an ELF descriptor. */
88 result = INTUSE(dwarf_begin_elf) (elf, cmd, NULL);
92 elf_end (elf);
  /cts/tests/tests/os/src/android/os/cts/
AbiTest.java 75 ReadElf elf = null; local
77 elf = ReadElf.read(f);
79 // If it's not actually an ELF file, we don't care.
89 if (elf != null) {
90 elf.close();

Completed in 875 milliseconds

1 2 3 4 5 6