Lines Matching refs:phdr
62 Elf32_Phdr phdr; in InitElf32() local
63 memset(&phdr, 0, sizeof(phdr)); in InitElf32()
64 phdr.p_type = PT_LOAD; in InitElf32()
65 phdr.p_filesz = 0x10000; in InitElf32()
66 phdr.p_memsz = 0x10000; in InitElf32()
67 phdr.p_flags = PF_R | PF_X; in InitElf32()
68 phdr.p_align = 0x1000; in InitElf32()
69 memory_->SetMemory(0x100, &phdr, sizeof(phdr)); in InitElf32()
72 memset(&phdr, 0, sizeof(phdr)); in InitElf32()
73 phdr.p_type = PT_ARM_EXIDX; in InitElf32()
74 phdr.p_offset = 0x30000; in InitElf32()
75 phdr.p_vaddr = 0x30000; in InitElf32()
76 phdr.p_paddr = 0x30000; in InitElf32()
77 phdr.p_filesz = 16; in InitElf32()
78 phdr.p_memsz = 16; in InitElf32()
79 phdr.p_flags = PF_R; in InitElf32()
80 phdr.p_align = 0x4; in InitElf32()
81 memory_->SetMemory(0x100 + sizeof(phdr), &phdr, sizeof(phdr)); in InitElf32()
97 Elf64_Phdr phdr; in InitElf64() local
98 memset(&phdr, 0, sizeof(phdr)); in InitElf64()
99 phdr.p_type = PT_LOAD; in InitElf64()
100 phdr.p_filesz = 0x10000; in InitElf64()
101 phdr.p_memsz = 0x10000; in InitElf64()
102 phdr.p_flags = PF_R | PF_X; in InitElf64()
103 phdr.p_align = 0x1000; in InitElf64()
104 memory_->SetMemory(0x100, &phdr, sizeof(phdr)); in InitElf64()