Home | History | Annotate | Download | only in tests

Lines Matching defs:ehdr

38   Elf32_Ehdr *ehdr;
58 ehdr = elf32_newehdr (elf);
59 if (ehdr == NULL)
69 printf (" %02x", ehdr->e_ident[i]);
74 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry,
75 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize,
76 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize,
77 ehdr->e_shnum, ehdr->e_shstrndx);
80 ehdr->e_ident[0] = 42;
81 ehdr->e_ident[4] = 1;
82 ehdr->e_ident[5] = 1;
83 ehdr->e_ident[6] = 2;
84 ehdr->e_ident[9] = 2;
85 ehdr->e_version = 1;
86 ehdr->e_ehsize = 1;
96 ehdr = elf32_newehdr (elf);
97 if (ehdr == NULL)
107 printf (" %02x", ehdr->e_ident[i]);
112 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry,
113 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize,
114 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize,
115 ehdr->e_shnum, ehdr->e_shstrndx);