Home | History | Annotate | Download | only in libelf

Lines Matching refs:ehdr

86   assert (offsetof (struct Elf, state.elf.ehdr)
87 == offsetof (struct Elf, state.elf32.ehdr));
88 assert (sizeof (elf->state.elf.ehdr)
89 == sizeof (elf->state.elf32.ehdr));
90 assert (offsetof (struct Elf, state.elf.ehdr)
91 == offsetof (struct Elf, state.elf64.ehdr));
92 assert (sizeof (elf->state.elf.ehdr)
93 == sizeof (elf->state.elf64.ehdr));
95 if (unlikely (elf->state.elf.ehdr == NULL))
105 ? elf->state.elf32.ehdr->e_shstrndx
106 : elf->state.elf64.ehdr->e_shstrndx);
123 offset = elf->state.elf32.ehdr->e_shoff;
126 && elf->state.elf32.ehdr->e_ident[EI_DATA] == MY_ELFDATA
148 if (elf->state.elf32.ehdr->e_ident[EI_DATA] != MY_ELFDATA)
161 size_t offset = elf->state.elf64.ehdr->e_shoff;
164 && elf->state.elf64.ehdr->e_ident[EI_DATA] == MY_ELFDATA
186 if (elf->state.elf64.ehdr->e_ident[EI_DATA] != MY_ELFDATA)