Lines Matching defs:ehdr
39 Elf32_Ehdr *ehdr;
59 ehdr = elf32_newehdr (elf);
60 if (ehdr == NULL)
70 printf (" %02x", ehdr->e_ident[i]);
75 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry,
76 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize,
77 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize,
78 ehdr->e_shnum, ehdr->e_shstrndx);
81 ehdr->e_ident[0] = 42;
82 ehdr->e_ident[4] = 1;
83 ehdr->e_ident[5] = 1;
84 ehdr->e_ident[6] = 2;
85 ehdr->e_ident[9] = 2;
86 ehdr->e_version = 1;
87 ehdr->e_ehsize = 1;
97 ehdr = elf32_newehdr (elf);
98 if (ehdr == NULL)
108 printf (" %02x", ehdr->e_ident[i]);
113 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry,
114 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize,
115 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize,
116 ehdr->e_shnum, ehdr->e_shstrndx);