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

1 2 3 4 5 67 8 91011>>

  /external/elfutils/src/
nm.c 1 /* Print information from ELF file in human-readable form.
115 static int handle_ar (int fd, Elf *elf, const char *prefix, const char *fname,
118 /* Handle ELF file. */
119 static int handle_elf (Elf *elf, const char *prefix, const char *fname,
375 /* Now get the ELF descriptor. */
376 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); local
377 if (elf != NULL
    [all...]
readelf.c 1 /* Print information from ELF file in human-readable form.
54 { "file-header", 'h', NULL, 0, N_("Display the ELF file header") },
76 Print information from ELF file in human-readable form.");
154 static void process_file (int fd, Elf *elf, const char *prefix,
156 static void process_elf_file (Elf *elf, const char *prefix, const char *fname,
199 /* If no control option or no ELF file is given punt. */
208 /* Before we start tell the ELF library which version we are using. */
216 Elf *elf local
    [all...]
  /external/elfutils/libasm/
asm_begin.c 43 /* Create the ELF descriptor for the file. */
44 result->out.elf = elf_begin (result->fd, ELF_C_WRITE_MMAP, NULL);
45 if (result->out.elf == NULL)
55 /* Create the ELF header for the output file. */
56 if (gelf_newehdr (result->out.elf, klass) == 0)
59 ehdr = gelf_getehdr (result->out.elf, &ehdr_mem);
65 /* Set the ELF version. */
76 /* Write the ELF header information back. */
77 (void) gelf_update_ehdr (result->out.elf, ehdr);
  /external/elfutils/tests/
asm-tst3.c 53 Elf *elf; local
133 elf = elf_begin (fd, ELF_C_READ, NULL);
134 if (elf == NULL)
136 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1));
140 if (elf_kind (elf) != ELF_K_ELF)
142 puts ("not a valid ELF file");
147 ehdr = gelf_getehdr (elf, &ehdr_mem);
150 printf ("cannot get ELF header: %s\n", elf_errmsg (-1));
161 scn = elf_getscn (elf, cnt)
    [all...]
saridx.c 87 Elf *elf; local
112 /* Set the ELF version we are using here. */
115 puts ("ELF library too old");
121 elf = elf_begin (fd, cmd, NULL);
122 if (elf == NULL)
129 if (elf_kind (elf) != ELF_K_AR)
138 Elf *subelf;
143 while ((subelf = elf_begin (fd, cmd, elf)) != NULL)
157 fputs ("ELF file:\n", stdout)
    [all...]
asm-tst9.c 81 Elf *elf; local
160 elf = elf_begin (fd, ELF_C_READ, NULL);
161 if (elf == NULL)
163 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1));
167 if (elf_kind (elf) != ELF_K_ELF)
169 puts ("not a valid ELF file");
174 ehdr = gelf_getehdr (elf, &ehdr_mem);
177 printf ("cannot get ELF header: %s\n", elf_errmsg (-1));
184 puts ("ELF header does not match")
    [all...]
  /external/e2fsprogs/lib/
Makefile.elf-lib 2 # This is a Makefile stub which handles the creation of Linux ELF shared
35 installdirs-elf-lib::
40 installdirs:: installdirs-elf-lib
42 install-shlibs install:: $(ELF_LIB) installdirs-elf-lib
43 @echo " INSTALL-ELF-LIB $(ELF_INSTALL_DIR)/$(ELF_LIB)"
Makefile.solaris-lib 2 # This is a Makefile stub which handles the creation of Linux ELF shared
35 installdirs-elf-lib::
39 installdirs:: installdirs-elf-lib
41 install-shlibs install:: $(ELF_LIB) installdirs-elf-lib
  /external/elfutils/libelf/
gelf_getsymshndx.c 54 rwlock_rdlock (symdata_scn->s->elf->lock);
72 if (symdata_scn->s->elf->class == ELFCLASS32)
125 rwlock_unlock (symdata_scn->s->elf->lock);
gelf_update_symshndx.c 62 the same ELF file. */
63 rwlock_wrlock (scn->elf->lock);
84 if (scn->elf->class == ELFCLASS32)
140 rwlock_unlock (scn->elf->lock);
libelfP.h 31 #define elfw2_(Bits, Name) elf##Bits##_##Name
32 #define ElfW2_(Bits, Name) Elf##Bits##_##Name
33 #define ELFW2_(Bits, Name) ELF##Bits##_##Name
145 /* Descriptor for ELF section. */
195 struct Elf *elf; /* The underlying ELF file. */ member in struct:Elf_Scn
224 /* The ELF descriptor. */
225 struct Elf
227 /* What kind of file is underneath (ELF file, archive...). *
286 } elf; member in union:Elf::__anon3657
    [all...]
elf_flagdata.c 1 /* Manipulate ELF data flag.
42 if (data_scn == NULL || unlikely (data_scn->s->elf->kind != ELF_K_ELF))
elf_flagscn.c 1 /* Manipulate ELF section flags.
39 if (unlikely (scn->elf->kind != ELF_K_ELF))
elf_flagshdr.c 1 /* Manipulate ELF section header flags.
39 if (unlikely (scn->elf->kind != ELF_K_ELF))
elf_rawdata.c 32 if (scn == NULL || scn->elf->kind != ELF_K_ELF)
  /bionic/libc/bionic/
libc_init_dynamic.c 50 #include <elf.h>
64 /* Read the ELF data pointer form a special slot of the
  /build/tools/soslim/
soslim.c 7 #include <elf.h>
22 void clone_elf(Elf *elf, Elf *newelf,
36 GElf_Ehdr ehdr_mem, *ehdr; /* store ELF header of original library */
58 ehdr = gelf_getehdr (elf, &ehdr_mem);
61 /* Create new program header for the elf file */
62 FAILIF(gelf_newehdr (newelf, gelf_getclass (elf)) == 0 ||
77 /* Copy out the old program header: notice that if the ELF file does not
80 INFO("Copying ELF program header...\n")
    [all...]
symfilter.h 47 void build_symfilter(const char *name, Elf *elf, symfilter_t *filter, off_t);
  /external/chromium/base/third_party/symbolize/
symbolize.h 34 // This library has a minimal implementation of an ELF symbol table
64 #include <elf.h>
  /sdk/emulator/qtools/
read_elf.h 5 #include <elf.h>
  /build/core/
raw_executable.mk 7 $(LOCAL_BUILT_MODULE) : PRIVATE_ELF_FILE := $(intermediates)/$(PRIVATE_MODULE).elf
  /build/tools/apriori/
source.h 11 #include <elf.h>
49 /* ELF-related information: */
50 Elf *oldelf;
51 Elf *elf; member in struct:source_t
52 /* info[] is an array of structures describing the sections of the new ELF
54 adjust the size of the ELF file when we modify the relocation-entry
58 GElf_Ehdr old_ehdr_mem; /* store ELF header of original library */
59 GElf_Ehdr ehdr_mem; /* store ELF header of new library */
  /external/qemu/elff/
elf_alloc.cc 60 void* DwarfAllocBase::operator new(size_t size, const ElfFile* elf) {
61 return elf->allocator()->alloc(size);
  /external/grub/stage2/
boot.c 26 #include "i386-elf.h"
53 Elf32_Ehdr *elf; member in union:__anon3791
98 /* ELF loading supported if multiboot, FreeBSD and NetBSD. */
100 || pu.elf->e_ident[EI_OSABI] == ELFOSABI_FREEBSD
101 || grub_strcmp (pu.elf->e_ident + EI_BRAND, "FreeBSD") == 0
107 entry_addr = (entry_func) pu.elf->e_entry;
109 entry_addr = (entry_func) (pu.elf->e_entry & 0xFFFFFF);
114 /* don't want to deal with ELF program header at some random
116 if (pu.elf->e_phoff == 0 || pu.elf->e_phnum ==
    [all...]
  /external/elfutils/libebl/
ppc_symbol.c 20 #include <elf.h>
132 ppc_reloc_valid_use (Elf *elf, int type)
138 Elf32_Ehdr *ehdr = elf32_getehdr (elf);

Completed in 272 milliseconds

1 2 3 4 5 67 8 91011>>