Lines Matching refs:shdr
100 ShdrType shdr; in CreateElf() local
101 memset(&shdr, 0, sizeof(shdr)); in CreateElf()
102 shdr.sh_type = SHT_NULL; in CreateElf()
103 memory_->SetMemory(offset + sh_offset, &shdr, sizeof(shdr)); in CreateElf()
105 sh_offset += sizeof(shdr); in CreateElf()
106 memset(&shdr, 0, sizeof(shdr)); in CreateElf()
107 shdr.sh_type = SHT_STRTAB; in CreateElf()
108 shdr.sh_name = 1; in CreateElf()
109 shdr.sh_offset = 0x500; in CreateElf()
110 shdr.sh_size = 0x100; in CreateElf()
111 memory_->SetMemory(offset + sh_offset, &shdr, sizeof(shdr)); in CreateElf()
114 sh_offset += sizeof(shdr); in CreateElf()
115 memset(&shdr, 0, sizeof(shdr)); in CreateElf()
116 shdr.sh_type = SHT_PROGBITS; in CreateElf()
117 shdr.sh_name = 0; in CreateElf()
118 shdr.sh_addr = 0x600; in CreateElf()
119 shdr.sh_offset = 0x600; in CreateElf()
120 shdr.sh_size = 0x200; in CreateElf()
121 memory_->SetMemory(offset + sh_offset, &shdr, sizeof(shdr)); in CreateElf()