HomeSort by relevance Sort by last modified time
    Searched refs:Ehdr (Results 1 - 14 of 14) sorted by null

  /external/elfutils/libelf/
elf-knowledge.h 122 #define SH_ENTSIZE_HASH(Ehdr) \
123 ((Ehdr)->e_machine == EM_ALPHA \
124 || ((Ehdr)->e_machine == EM_S390 \
125 && (Ehdr)->e_ident[EI_CLASS] == ELFCLASS64) ? 8 : 4)
elf32_getehdr.c 65 static ElfW2(LIBELFBITS,Ehdr) *
97 return elf->state.ELFW(elf,LIBELFBITS).ehdr;
100 ElfW2(LIBELFBITS,Ehdr) *
107 ElfW2(LIBELFBITS,Ehdr) *
111 ElfW2(LIBELFBITS,Ehdr) *result;
elf32_newehdr.c 65 ElfW2(LIBELFBITS,Ehdr) *
69 ElfW2(LIBELFBITS,Ehdr) *result;
92 if (elf->state.ELFW(elf,LIBELFBITS).ehdr == NULL)
95 elf->state.ELFW(elf,LIBELFBITS).ehdr =
99 memset (elf->state.ELFW(elf,LIBELFBITS).ehdr, '\0',
100 sizeof (ElfW2(LIBELFBITS,Ehdr)));
106 result = elf->state.ELFW(elf,LIBELFBITS).ehdr;
gelf_xlate.h 62 TYPE (Ehdr, LIBELFBITS)
elf32_updatefile.c 129 ElfW2(LIBELFBITS,Ehdr) *ehdr;
133 ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr;
140 assert (sizeof (ElfW2(LIBELFBITS,Ehdr))
155 (*fctp) ((char *) elf->map_address + elf->start_offset, ehdr,
156 sizeof (ElfW2(LIBELFBITS,Ehdr)), 1);
159 memcpy (elf->map_address + elf->start_offset, ehdr,
160 sizeof (ElfW2(LIBELFBITS,Ehdr)));
177 if (ehdr->e_phoff > ehdr->e_ehsize
    [all...]
abstract.h 52 #define Ehdr(Bits, Ext) \
53 START (Bits, Ehdr, Ext##Ehdr) \
69 END (Bits, Ext##Ehdr)
72 Ehdr(32, Ext)
74 Ehdr(64, Ext)
elf32_updatenull.c 72 ELFW(default_ehdr,LIBELFBITS) (Elf *elf, ElfW2(LIBELFBITS,Ehdr) *ehdr,
76 if (memcmp (&ehdr->e_ident[EI_MAG0], ELFMAG, SELFMAG) != 0)
78 memcpy (&ehdr->e_ident[EI_MAG0], ELFMAG, SELFMAG);
83 update_if_changed (ehdr->e_ident[EI_CLASS], ELFW(ELFCLASS,LIBELFBITS),
87 if (unlikely (ehdr->e_ident[EI_DATA] == ELFDATANONE))
89 ehdr->e_ident[EI_DATA] =
93 else if (unlikely (ehdr->e_ident[EI_DATA] >= ELFDATANUM))
100 && ehdr->e_ident[EI_DATA] != ELFDATA2LSB)
102 && ehdr->e_ident[EI_DATA] != ELFDATA2MSB))
    [all...]
elf32_getphdr.c 94 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr;
97 size_t phnum = ehdr->e_phnum;
110 + elf->start_offset + ehdr->e_phoff);
111 if (ehdr->e_ident[EI_DATA] == MY_ELFDATA
137 if (ehdr->e_ident[EI_DATA] == MY_ELFDATA)
184 elf->start_offset + ehdr->e_phoff);
196 if (ehdr->e_ident[EI_DATA] != MY_ELFDATA)
elf32_getshdr.c 76 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr;
106 + elf->start_offset + ehdr->e_shoff);
108 assert (ehdr->e_ident[EI_DATA] != MY_ELFDATA
114 if (ehdr->e_ident[EI_DATA] == MY_ELFDATA)
126 + elf->start_offset + ehdr->e_shoff);
131 + elf->start_offset + ehdr->e_shoff),
170 elf->start_offset + ehdr->e_shoff);
180 if (ehdr->e_ident[EI_DATA] != MY_ELFDATA
    [all...]
  /frameworks/compile/mclinker/include/mcld/ADT/
SizeTraits.h 58 typedef llvm::ELF::Elf32_Ehdr Ehdr;
79 typedef llvm::ELF::Elf64_Ehdr Ehdr;
  /external/compiler-rt/lib/msan/
msan_linux.cc 96 typedef ElfW(Ehdr) Elf_Ehdr;
98 Elf_Ehdr *ehdr = (Elf_Ehdr *)base; local
99 char *phdrs = base + ehdr->e_phoff;
100 char *phdrs_end = phdrs + ehdr->e_phnum * ehdr->e_phentsize;
106 for (char *iter = phdrs; iter != phdrs_end; iter += ehdr->e_phentsize) {
115 for (char *iter = phdrs; iter != phdrs_end; iter += ehdr->e_phentsize) {
  /external/valgrind/main/coregrind/m_ume/
elf.c 67 ESZ(Ehdr) e;
251 ESZ(Ehdr) *e = (ESZ(Ehdr) *)hdr;
  /external/valgrind/main/coregrind/m_coredump/
coredump-elf.c 88 static void fill_ehdr(ESZ(Ehdr) *ehdr, Int num_phdrs)
90 VG_(memset)(ehdr, 0, sizeof(*ehdr));
92 VG_(memcpy)(ehdr->e_ident, ELFMAG, SELFMAG);
93 ehdr->e_ident[EI_CLASS] = VG_ELF_CLASS;
94 ehdr->e_ident[EI_DATA] = VG_ELF_DATA2XXX;
95 ehdr->e_ident[EI_VERSION] = EV_CURRENT;
97 ehdr->e_type = ET_CORE;
98 ehdr->e_machine = VG_ELF_MACHINE
    [all...]
  /frameworks/compile/mclinker/lib/LD/
ELFObjectWriter.cpp 190 typedef typename ELFSizeTraits<SIZE>::Ehdr ElfXX_Ehdr;
326 typedef typename ELFSizeTraits<SIZE>::Ehdr ElfXX_Ehdr;

Completed in 550 milliseconds