Lines Matching refs:shdr
265 ShdrType shdr; in PutElfInMemory() local
266 memset(&shdr, 0, sizeof(shdr)); in PutElfInMemory()
267 shdr.sh_type = SHT_NULL; in PutElfInMemory()
268 memory->SetMemory(offset + sh_offset, &shdr, sizeof(shdr)); in PutElfInMemory()
270 sh_offset += sizeof(shdr); in PutElfInMemory()
271 memset(&shdr, 0, sizeof(shdr)); in PutElfInMemory()
272 shdr.sh_type = SHT_STRTAB; in PutElfInMemory()
273 shdr.sh_name = 1; in PutElfInMemory()
274 shdr.sh_offset = 0x500; in PutElfInMemory()
275 shdr.sh_size = 0x100; in PutElfInMemory()
276 memory->SetMemory(offset + sh_offset, &shdr, sizeof(shdr)); in PutElfInMemory()
279 sh_offset += sizeof(shdr); in PutElfInMemory()
280 memset(&shdr, 0, sizeof(shdr)); in PutElfInMemory()
281 shdr.sh_type = SHT_PROGBITS; in PutElfInMemory()
282 shdr.sh_name = 0; in PutElfInMemory()
283 shdr.sh_addr = 0x600; in PutElfInMemory()
284 shdr.sh_offset = 0x600; in PutElfInMemory()
285 shdr.sh_size = 0x200; in PutElfInMemory()
286 memory->SetMemory(offset + sh_offset, &shdr, sizeof(shdr)); in PutElfInMemory()