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