Lines Matching refs:ehdr
48 Elf32_Ehdr ehdr; in InitElf32() local
49 TestInitEhdr<Elf32_Ehdr>(&ehdr, ELFCLASS32, machine_type); in InitElf32()
51 ehdr.e_phoff = 0x100; in InitElf32()
52 ehdr.e_ehsize = sizeof(ehdr); in InitElf32()
53 ehdr.e_phentsize = sizeof(Elf32_Phdr); in InitElf32()
54 ehdr.e_phnum = 1; in InitElf32()
55 ehdr.e_shentsize = sizeof(Elf32_Shdr); in InitElf32()
57 ehdr.e_flags = 0x5000200; in InitElf32()
58 ehdr.e_phnum = 2; in InitElf32()
60 memory_->SetMemory(0, &ehdr, sizeof(ehdr)); in InitElf32()
86 Elf64_Ehdr ehdr; in InitElf64() local
87 TestInitEhdr<Elf64_Ehdr>(&ehdr, ELFCLASS64, machine_type); in InitElf64()
89 ehdr.e_phoff = 0x100; in InitElf64()
90 ehdr.e_flags = 0x5000200; in InitElf64()
91 ehdr.e_ehsize = sizeof(ehdr); in InitElf64()
92 ehdr.e_phentsize = sizeof(Elf64_Phdr); in InitElf64()
93 ehdr.e_phnum = 1; in InitElf64()
94 ehdr.e_shentsize = sizeof(Elf64_Shdr); in InitElf64()
95 memory_->SetMemory(0, &ehdr, sizeof(ehdr)); in InitElf64()