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