Home | History | Annotate | Download | only in tests

Lines Matching refs:ehdr

33   Elf32_Ehdr *ehdr;
53 ehdr = elf32_newehdr (elf);
54 if (ehdr == NULL)
64 printf (" %02x", ehdr->e_ident[i]);
69 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry,
70 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize,
71 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize,
72 ehdr->e_shnum, ehdr->e_shstrndx);
75 ehdr->e_ident[0] = 42;
76 ehdr->e_ident[4] = 1;
77 ehdr->e_ident[5] = 1;
78 ehdr->e_ident[6] = 2;
79 ehdr->e_ident[9] = 2;
80 ehdr->e_version = 1;
81 ehdr->e_ehsize = 1;
91 ehdr = elf32_newehdr (elf);
92 if (ehdr == NULL)
102 printf (" %02x", ehdr->e_ident[i]);
107 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry,
108 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize,
109 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize,
110 ehdr->e_shnum, ehdr->e_shstrndx);