Searched refs:ehdr (Results 101 - 106 of 106) sorted by path

12345

/linux-master/tools/testing/selftests/bpf/benchs/
H A Dbench_ringbufs.c482 struct perf_event_header *ehdr; local
505 ehdr = base + (data_tail & mmap_mask);
506 ehdr_size = ehdr->size;
508 if (ehdr->type == PERF_RECORD_SAMPLE)
/linux-master/tools/testing/selftests/bpf/
H A Dtrace_helpers.c348 GElf_Ehdr ehdr; local
365 if (!gelf_getehdr(elf, &ehdr))
368 for (i = 0; i < ehdr.e_phnum; i++) {
H A Dveristat.c375 Elf64_Ehdr *ehdr; local
393 ehdr = elf64_getehdr(elf);
395 if (!ehdr || ehdr->e_type != ET_REL || (ehdr->e_machine && ehdr->e_machine != EM_BPF))
/linux-master/tools/testing/selftests/powerpc/ptrace/
H A Dcore-pkey.c195 static int check_core_file(struct shared_info *info, Elf64_Ehdr *ehdr, argument
202 void *p = ehdr, *note;
205 ret = memcmp(ehdr->e_ident, ELFMAG, SELFMAG);
208 FAIL_IF(ehdr->e_type != ET_CORE);
209 FAIL_IF(ehdr->e_machine != EM_PPC64);
210 FAIL_IF(ehdr->e_phoff == 0 || ehdr->e_phnum == 0);
216 phdr_size = sizeof(*phdr) * ehdr->e_phnum;
219 FAIL_IF(ehdr->e_phoff + phdr_size < ehdr
[all...]
/linux-master/tools/testing/selftests/sgx/
H A Dload.c142 Elf64_Ehdr *ehdr; local
146 ehdr = encl->bin;
147 sections = encl->bin + ehdr->e_shoff;
149 for (i = 0; i < ehdr->e_shnum; i++) {
157 for (i = 0; i < ehdr->e_shnum; i++) {
183 Elf64_Ehdr *ehdr; local
229 ehdr = encl->bin;
230 phdr_tbl = encl->bin + ehdr->e_phoff;
234 for (i = 0; i < ehdr->e_phnum; i++) {
246 for (i = 0, j = 0; i < ehdr
[all...]
H A Dmain.c48 Elf64_Ehdr *ehdr = addr; local
49 Elf64_Phdr *phdrtab = addr + ehdr->e_phoff;
52 for (i = 0; i < ehdr->e_phnum; i++)

Completed in 216 milliseconds

12345