Lines Matching refs:shdr
106 ShdrType shdr; in CreateElf() local
107 memset(&shdr, 0, sizeof(shdr)); in CreateElf()
108 shdr.sh_type = SHT_NULL; in CreateElf()
109 memory_->SetMemory(offset + sh_offset, &shdr, sizeof(shdr)); in CreateElf()
111 sh_offset += sizeof(shdr); in CreateElf()
112 memset(&shdr, 0, sizeof(shdr)); in CreateElf()
113 shdr.sh_type = SHT_STRTAB; in CreateElf()
114 shdr.sh_name = 1; in CreateElf()
115 shdr.sh_offset = 0x500; in CreateElf()
116 shdr.sh_size = 0x100; in CreateElf()
117 memory_->SetMemory(offset + sh_offset, &shdr, sizeof(shdr)); in CreateElf()
121 sh_offset += sizeof(shdr); in CreateElf()
122 memset(&shdr, 0, sizeof(shdr)); in CreateElf()
123 shdr.sh_type = SHT_PROGBITS; in CreateElf()
124 shdr.sh_name = 0; in CreateElf()
125 shdr.sh_addr = 0x600; in CreateElf()
126 shdr.sh_offset = 0x600; in CreateElf()
127 shdr.sh_size = 0x200; in CreateElf()
128 memory_->SetMemory(offset + sh_offset, &shdr, sizeof(shdr)); in CreateElf()
130 sh_offset += sizeof(shdr); in CreateElf()
131 memset(&shdr, 0, sizeof(shdr)); in CreateElf()
132 shdr.sh_type = SHT_NOBITS; in CreateElf()
133 shdr.sh_name = 0x50; in CreateElf()
134 shdr.sh_addr = pc; in CreateElf()
135 shdr.sh_offset = 0; in CreateElf()
136 shdr.sh_size = size; in CreateElf()
137 memory_->SetMemory(offset + sh_offset, &shdr, sizeof(shdr)); in CreateElf()