Lines Matching refs:shdr
154 Elf32_Shdr shdr = {}; in InitElfData() local
155 shdr.sh_type = SHT_NOTE; in InitElfData()
156 shdr.sh_name = 0x500; in InitElfData()
157 shdr.sh_offset = 0xb000; in InitElfData()
158 shdr.sh_size = sizeof(note_section); in InitElfData()
159 offset += ehdr.e_shoff + sizeof(shdr); in InitElfData()
161 ASSERT_EQ(static_cast<ssize_t>(sizeof(shdr)), write(fd, &shdr, sizeof(shdr))); in InitElfData()
164 memset(&shdr, 0, sizeof(shdr)); in InitElfData()
165 shdr.sh_type = SHT_STRTAB; in InitElfData()
166 shdr.sh_name = 0x20000; in InitElfData()
167 shdr.sh_offset = 0xf000; in InitElfData()
168 shdr.sh_size = 0x1000; in InitElfData()
169 offset += sizeof(shdr); in InitElfData()
171 ASSERT_EQ(static_cast<ssize_t>(sizeof(shdr)), write(fd, &shdr, sizeof(shdr))); in InitElfData()