HomeSort by relevance Sort by last modified time
    Searched refs:Elf (Results 1 - 25 of 217) sorted by null

1 2 3 4 5 6 7 8 9

  /external/elfutils/libelf/
libelf.h 35 /* Get the ELF types. */
36 #include <elf.h>
39 /* Older glibc elf.h might not yet define the ELF compression types. */
97 ELF_T_EHDR, /* ELF header. */
131 unsigned int d_version; /* ELF version. */
163 /* Flags for the ELF structures. */
187 ELF_K_ELF, /* ELF file. */
215 /* Descriptor for the ELF file. */
216 typedef struct Elf Elf
    [all...]
elf_getaroff.c 1 /* Return offset in archive for current file ELF.
42 elf_getaroff (Elf *elf)
45 if (elf == NULL || elf->parent == NULL)
49 Elf *parent = elf->parent;
52 return elf->start_offset - sizeof (struct ar_hdr) - parent->start_offset;
elf_getident.c 40 elf_getident (Elf *elf, size_t *ptr)
42 /* In case this is no ELF file, the handle is invalid and we return
44 if (elf == NULL || elf->kind != ELF_K_ELF)
51 /* We already read the ELF header. Return a pointer to it and store
56 return (char *) (elf->class == ELFCLASS32
57 || (offsetof (struct Elf, state.elf32.ehdr)
58 == offsetof (struct Elf, state.elf64.ehdr))
59 ? elf->state.elf32.ehdr->e_iden
    [all...]
elf_getbase.c 41 elf_getbase (Elf *elf)
43 return elf == NULL ? (off_t) -1 : elf->start_offset;
elf_kind.c 41 elf_kind (Elf *elf)
43 return elf == NULL ? ELF_K_NONE : elf->kind;
gelf_getclass.c 41 gelf_getclass (Elf *elf)
43 return elf == NULL || elf->kind != ELF_K_ELF ? ELFCLASSNONE : elf->class;
gelf_newehdr.c 1 /* Create new ELF header.
41 gelf_newehdr (Elf *elf, int class)
44 ? (void *) INTUSE(elf32_newehdr) (elf)
45 : (void *) INTUSE(elf64_newehdr) (elf));
libelfP.h 48 #define elfw2_(Bits, Name) elf##Bits##_##Name
49 #define ElfW2_(Bits, Name) Elf##Bits##_##Name
50 #define ELFW2_(Bits, Name) ELF##Bits##_##Name
171 /* Descriptor for ELF section. */
224 struct Elf *elf; /* The underlying ELF file. */ member in struct:Elf_Scn
239 the Elf was mmapped. */
275 /* The ELF descriptor. */
276 struct Elf
336 } elf; member in union:Elf::__anon21957
    [all...]
common.h 49 /* Next try ELF files. */
52 /* Could be an ELF file. */
68 /* Allocate an Elf descriptor and fill in the generic information. */
69 static inline Elf *
72 Elf_Cmd cmd, Elf *parent, Elf_Kind kind, size_t extra)
74 Elf *result = (Elf *) calloc (1, sizeof (Elf) + extra);
98 libelf_acquire_all (Elf *elf)
    [all...]
elf_clone.c 40 Elf *
41 elf_clone (Elf *elf, Elf_Cmd cmd)
43 Elf *retval = NULL;
45 if (elf == NULL)
50 rwlock_rdlock (elf->lock);
56 retval = allocate_elf (elf->fildes, elf->map_address, elf->start_offset,
57 elf->maximum_size, elf->cmd, elf->parent, elf->kind
    [all...]
elf_getarhdr.c 42 elf_getarhdr (Elf *elf)
44 if (elf == NULL)
47 Elf *parent = elf->parent;
elf_getshdrnum.c 1 /* Return number of sections in the ELF file.
43 __elf_getshdrnum_rdlock (Elf *elf, size_t *dst)
48 if (elf == NULL)
51 if (unlikely (elf->kind != ELF_K_ELF))
57 idx = elf->state.elf.scns_last->cnt;
59 || (elf->state.elf.scns_last
60 != (elf->class == ELFCLASS3
    [all...]
elf_memory.c 40 Elf *
gelf_checksum.c 1 /* Convert from file to memory representation. Generic ELF version.
41 gelf_checksum (Elf *elf)
43 if (elf == NULL)
46 return (elf->class == ELFCLASS32
47 ? INTUSE(elf32_checksum) (elf) : INTUSE(elf64_checksum) (elf));
gelf_newphdr.c 1 /* Create new ELF program header.
41 gelf_newphdr ( Elf *elf, size_t phnum)
43 return (elf->class == ELFCLASS32
44 ? (void *) INTUSE(elf32_newphdr) (elf, phnum)
45 : (void *) INTUSE(elf64_newphdr) (elf, phnum));
gelf_offscn.c 1 /* Create new ELF header.
41 gelf_offscn (Elf *elf, GElf_Off offset)
43 if (elf->class == ELFCLASS32)
51 return INTUSE(elf32_offscn) (elf, (Elf32_Off) offset);
54 return INTUSE(elf64_offscn) (elf, offset);
gelf_xlatetof.c 1 /* Convert from memory to file representation. Generic ELF version.
41 gelf_xlatetof (Elf *elf, Elf_Data *dest, const Elf_Data * src,
44 if (elf == NULL)
47 return (elf->class == ELFCLASS32
gelf_xlatetom.c 1 /* Convert from file to memory representation. Generic ELF version.
41 gelf_xlatetom (Elf *elf, Elf_Data *dest, const Elf_Data * src,
44 if (elf == NULL)
47 return (elf->class == ELFCLASS32
  /external/elfutils/libdwelf/
dwelf_elf_begin.c 1 /* Creates an ELF handle from a possibly compressed file descriptor.
39 Elf *
42 Elf *elf = NULL; local
43 Dwfl_Error e = __libdw_open_elf (fd, &elf);
44 if (elf != NULL && elf_kind (elf) != ELF_K_NONE)
45 return elf;
47 /* Elf wasn't usable. Make sure there is a proper elf error message. *
    [all...]
libdwelf.h 1 /* Interfaces for libdwelf. DWARF ELF Low-level Functions.
38 /* DWARF ELF Low-level Functions (dwelf).
39 Functions starting with dwelf_elf will take a (libelf) Elf object as
45 .gnu_debuglink section if found in the ELF. Return NULL if the ELF
48 extern const char *dwelf_elf_gnu_debuglink (Elf *elf, GElf_Word *crc);
51 found in the ELF. On success, pointers to the name and build ID
53 the build ID is returned. Returns 0 if the ELF lacks a
61 a SHT_NOTE section or from a PT_NOTE segment if the ELF fil
    [all...]
  /external/elfutils/libdw/
dwarf_getelf.c 1 /* Retrieve ELF descriptor used for DWARF access.
39 Elf *
46 return dwarf->elf;
  /external/elfutils/libasm/
asm_getelf.c 1 /* Return ELF descriptor associated with the assembler context.
39 Elf *
42 return ctx != NULL ? ctx->out.elf : NULL;
  /external/elfutils/libebl/
libeblP.h 47 /* ELF machine, class, and data encoding. */
53 Elf *elf; member in struct:ebl
90 typedef const char *(*ebl_bhinit_t) (Elf *, GElf_Half, Ebl *, size_t);
  /external/llvm/include/llvm/ObjectYAML/
ObjectYAML.h 22 std::unique_ptr<ELFYAML::Object> Elf;
  /external/llvm/lib/ObjectYAML/
ObjectYAML.cpp 23 if (ObjectFile.Elf)
24 MappingTraits<ELFYAML::Object>::mapping(IO, *ObjectFile.Elf);
33 if (IO.mapTag("!ELF")) {
34 ObjectFile.Elf.reset(new ELFYAML::Object());
35 MappingTraits<ELFYAML::Object>::mapping(IO, *ObjectFile.Elf);

Completed in 1054 milliseconds

1 2 3 4 5 6 7 8 9