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