HomeSort by relevance Sort by last modified time
    Searched refs:Elf (Results 151 - 175 of 252) sorted by null

1 2 3 4 5 67 8 91011

  /external/elfutils/tests/
saridx.c 91 Elf *elf; local
116 /* Set the ELF version we are using here. */
119 puts ("ELF library too old");
125 elf = elf_begin (fd, cmd, NULL);
126 if (elf == NULL)
133 if (elf_kind (elf) != ELF_K_AR)
142 Elf *subelf;
147 while ((subelf = elf_begin (fd, cmd, elf)) != NULL)
161 fputs ("ELF file:\n", stdout)
    [all...]
elfgetchdr.c 27 #include ELFUTILS_HEADER(elf)
47 Elf *elf = elf_begin (fd, ELF_C_READ, NULL); local
48 if (elf == NULL)
57 if (elf_getshdrstrndx (elf, &shdrstrndx) == -1)
66 while ((scn = elf_nextscn (elf, scn)) != NULL)
87 printf ("section %d: ELF Compressed ch_type: %" PRId32
93 const char *sname = elf_strptr (elf, shdrstrndx, shdr.sh_name);
119 elf_end (elf);
elfgetzdata.c 55 Elf *elf = elf_begin (fd, mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); local
56 if (elf == NULL)
66 elf_getshdrstrndx (elf, &strndx);
69 while ((scn = elf_nextscn (elf, scn)) != NULL)
74 const char *name = elf_strptr (elf, strndx, shdr->sh_name);
85 printf ("%zd: %s, ELF compressed, size: %zx\n",
108 elf_end (elf);
zstrptr.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);
75 Elf_Scn *scn = elf_getscn (elf, ndx)
    [all...]
elfstrtab.c 30 #include ELFUTILS_HEADER(elf)
54 check_orig_strings (Elf *elf, int ndx, const char *msg)
58 const char *str = elf_strptr (elf, ndx, 0);
63 str = elf_strptr (elf, ndx, 1);
68 str = elf_strptr (elf, ndx, orig_str1_off);
73 str = elf_strptr (elf, ndx, orig_str2_off);
78 str = elf_strptr (elf, ndx, orig_str3_off);
85 check_strings (Elf *elf, int ndx, const char *msg
144 Elf *elf = elf_begin (fd, use_mmap ? ELF_C_WRITE_MMAP : ELF_C_WRITE, NULL); local
    [all...]
  /system/core/libunwindstack/tools/
unwind_info.cpp 17 #include <elf.h>
30 #include <unwindstack/Elf.h>
117 Elf elf(memory);
118 if (!elf.Init() || !elf.valid()) {
119 printf("%s is not a valid elf file.\n", file);
123 ElfInterface* interface = elf.interface();
124 if (elf.machine_type() == EM_ARM) {
146 ElfInterface* gnu_debugdata_interface = elf.gnu_debugdata_interface()
    [all...]
  /external/elfutils/backends/
alpha_symbol.c 34 #include <elf.h>
101 while ((scn = elf_nextscn (ebl->elf, scn)) != NULL)
132 alpha_check_special_symbol (Elf *elf __attribute__ ((unused)),
ppc64_init.c 45 ppc64_init (Elf *elf __attribute__ ((unused)),
78 if (elf != NULL)
80 GElf_Ehdr ehdr_mem, *ehdr = gelf_getehdr (elf, &ehdr_mem);
86 while ((scn = elf_nextscn (elf, scn)) != NULL)
94 const char *name = elf_strptr (elf, ehdr->e_shstrndx,
  /external/elfutils/libdwfl/
dwfl_module_build_id.c 57 __libdwfl_find_build_id (Dwfl_Module *mod, bool set, Elf *elf)
66 int result = __libdwfl_find_elf_build_id (mod, elf, &build_id_bits,
83 if (mod->build_id_len == 0 && mod->main.elf != NULL)
86 int result = __libdwfl_find_build_id (mod, true, mod->main.elf);
dwfl_module_getsym.c 34 GElf_Word *shndxp, Elf **elfp, Dwarf_Addr *biasp,
54 Elf *elf; local
63 elf = mod->symfile->elf;
72 elf = mod->aux_sym.elf;
81 elf = mod->symfile->elf;
90 elf = mod->aux_sym.elf
    [all...]
dwfl_report_elf.c 1 /* Report a module to libdwfl based on ELF program headers.
43 __libdwfl_elf_address_range (Elf *elf, GElf_Addr base, bool add_p_vaddr,
49 GElf_Ehdr ehdr_mem, *ehdr = gelf_getehdr (elf, &ehdr_mem);
71 while ((scn = elf_nextscn (elf, scn)) != NULL)
105 prev_scn = elf_nextscn (elf, prev_scn);
177 if (unlikely (elf_getphdrnum (elf, &phnum) != 0))
181 GElf_Phdr phdr_mem, *ph = gelf_getphdr (elf, i, &phdr_mem);
204 GElf_Phdr phdr_mem, *ph = gelf_getphdr (elf, i, &phdr_mem);
240 int fd, Elf *elf, GElf_Addr base, bool add_p_vaddr
302 Elf *elf; local
    [all...]
linux-core-attach.c 41 Elf *core;
59 Elf *core = core_arg->core;
103 Elf *core = core_arg->core;
171 Elf *core = core_arg->core;
310 dwfl_core_file_attach (Dwfl *dwfl, Elf *core)
relocate.c 38 __libdwfl_relocate_value (Dwfl_Module *mod, Elf *elf, size_t *shstrndx,
42 Handle it first, just in case the ELF file has strange section
47 Elf_Scn *refscn = elf_getscn (elf, shndx);
58 && unlikely (elf_getshdrstrndx (elf, shstrndx) < 0))
61 const char *name = elf_strptr (elf, *shstrndx, refshdr->sh_name);
94 Elf *symelf;
109 Elf *relocated, struct reloc_symtab_cache *cache,
114 if (mod->symfile == NULL || mod->symfile->elf != relocated)
168 cache->symelf = mod->symfile->elf;
    [all...]
  /external/elfutils/libelf/
elf32_checksum.c 1 /* Compute simple checksum from permanent parts of the ELF file.
42 #include "elf-knowledge.h"
54 elfw2(LIBELFBITS,checksum) (Elf *elf)
62 if (elf == NULL)
66 if (INTUSE(elf_getshdrstrndx) (elf, &shstrndx) < 0)
68 /* This can only happen if the ELF handle is not for real. */
75 ident = elf->state.ELFW(elf,LIBELFBITS).ehdr->e_ident;
85 rwlock_wrlock (elf->lock)
    [all...]
gelf_fsize.c 83 gelf_fsize (Elf *elf, Elf_Type type, size_t count, unsigned int version)
87 if (elf == NULL)
103 return count * __libelf_type_sizes[version - 1][elf->class - 1][type];
105 return count * __libelf_type_sizes[0][elf->class - 1][type];
gelf_getphdr.c 42 gelf_getphdr (Elf *elf, int ndx, GElf_Phdr *dst)
46 if (elf == NULL)
49 if (unlikely (elf->kind != ELF_K_ELF))
61 rwlock_rdlock (elf->lock);
63 if (elf->class == ELFCLASS32)
66 Elf32_Phdr *phdr = elf->state.elf32.phdr;
70 rwlock_unlock (elf->lock);
71 phdr = INTUSE(elf32_getphdr) (elf);
75 rwlock_rdlock (elf->lock)
    [all...]
elf_compress_gnu.c 51 Elf *elf = scn->elf; local
53 if (gelf_getehdr (elf, &ehdr) == NULL)
56 int elfclass = elf->class;
197 __libelf_data_type (elf, sh_type));
gelf_update_phdr.c 41 gelf_update_phdr (Elf *elf, int ndx, GElf_Phdr *src)
45 if (elf == NULL)
48 if (unlikely (elf->kind != ELF_K_ELF))
54 rwlock_wrlock (elf->lock);
56 if (elf->class == ELFCLASS32)
58 Elf32_Phdr *phdr = elf->state.elf32.phdr;
76 phdr = __elf32_getphdr_wrlock (elf);
84 if (ndx >= elf->state.elf32.ehdr->e_phnum
85 && (elf->state.elf32.ehdr->e_phnum != PN_XNU
    [all...]
  /device/linaro/bootloader/OpenPlatformPkg/Platforms/TexasInstruments/BeagleBoard/Library/EblCmdLib/
EblCmdLib.c 66 BOOLEAN Elf;
81 Elf = (Argc > 2) ? FALSE : TRUE;
100 if (Elf) {
101 // ELF and Mach-O images don't include the header so the linked address does not include header
  /device/linaro/bootloader/edk2/BeagleBoardPkg/Library/EblCmdLib/
EblCmdLib.c 66 BOOLEAN Elf;
81 Elf = (Argc > 2) ? FALSE : TRUE;
100 if (Elf) {
101 // ELF and Mach-O images don't include the header so the linked address does not include header
  /external/elfutils/libdw/
dwarf_begin_elf.c 1 /* Create descriptor from ELF descriptor for processing file.
98 const char *scnname = elf_strptr (result->elf, ehdr->e_shstrndx,
102 /* The section name must be valid. Otherwise is the ELF file
217 global_read (Dwarf *result, Elf *elf, GElf_Ehdr *ehdr)
221 while (result != NULL && (scn = elf_nextscn (elf, scn)) != NULL)
229 scngrp_read (Dwarf *result, Elf *elf, GElf_Ehdr *ehdr, Elf_Scn *scngrp)
267 Elf_Scn *scn = elf_getscn (elf, scnidx[cnt]);
288 dwarf_begin_elf (Elf *elf, Dwarf_Cmd cmd, Elf_Scn *scngrp
    [all...]
  /external/elfutils/src/
ranlib.c 134 copy_content (Elf *elf, int newfd, off_t off, size_t n)
137 char *rawfile = elf_rawfile (elf, &len);
169 /* First we walk through the file, looking for all ELF files to
171 Elf *arelf = elf_begin (fd, ELF_C_READ_MMAP, NULL);
174 error (0, 0, gettext ("cannot create ELF descriptor for '%s': %s"),
194 Elf *elf; local
196 while ((elf = elf_begin (fd, cmd, arelf)) != NULL)
198 Elf_Arhdr *arhdr = elf_getarhdr (elf);
    [all...]
objdump.c 1 /* Print information from ELF file in human-readable form.
94 static int handle_ar (int fd, Elf *elf, const char *prefix, const char *fname,
97 /* Handle ELF file. */
98 static int handle_elf (Elf *elf, const char *prefix, const char *fname,
257 /* Now get the ELF descriptor. */
258 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); local
259 if (elf != NULL
    [all...]
  /system/core/libunwindstack/tests/
RegsStepIfSignalHandlerTest.cpp 21 #include <unwindstack/Elf.h>
34 elf_.reset(new Elf(elf_memory_));
42 std::unique_ptr<Elf> elf_;
  /device/linaro/bootloader/edk2/ArmPlatformPkg/Library/EblCmdLib/
EblCmdLib.c 80 BOOLEAN Elf;
89 Elf = (Argc > 2) ? FALSE : TRUE;
108 if (Elf) {
109 // ELF and Mach-O images don't include the header so the linked address does not include header

Completed in 1336 milliseconds

1 2 3 4 5 67 8 91011