Home | History | Annotate | Download | only in tests

Lines Matching refs:ehdr

45   Elf32_Ehdr *ehdr;
65 ehdr = elf32_newehdr (elf);
66 if (ehdr == NULL)
76 printf (" %02x", ehdr->e_ident[i]);
81 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry,
82 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize,
83 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize,
84 ehdr->e_shnum, ehdr->e_shstrndx);
87 ehdr->e_ident[0] = 42;
88 ehdr->e_ident[4] = 1;
89 ehdr->e_ident[5] = 1;
90 ehdr->e_ident[6] = 2;
91 ehdr->e_ident[9] = 2;
92 ehdr->e_version = 1;
93 ehdr->e_ehsize = 1;
103 ehdr = elf32_newehdr (elf);
104 if (ehdr == NULL)
114 printf (" %02x", ehdr->e_ident[i]);
119 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry,
120 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize,
121 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize,
122 ehdr->e_shnum, ehdr->e_shstrndx);