Lines Matching defs:phdr
200 typedef typename TypeParam::Phdr Phdr;
234 EXPECT_EQ(sizeof(Phdr), header->e_phentsize);
267 typedef typename TypeParam::Phdr Phdr;
274 sizeof(Phdr) + 4 * sizeof(Shdr) + 4096 +
305 EXPECT_EQ(sizeof(Ehdr) + sizeof(Phdr) + 4096 + kStringTableSize +
309 EXPECT_EQ(sizeof(Phdr), header->e_phentsize);
332 EXPECT_EQ(sizeof(Ehdr) + sizeof(Phdr), shdr[1].sh_offset);
354 EXPECT_EQ(sizeof(Ehdr) + sizeof(Phdr) + 4096, shdr[3].sh_offset);
361 const Phdr* phdr =
362 reinterpret_cast<const Phdr*>(contents.data() + header->e_phoff);
363 EXPECT_EQ(static_cast<unsigned int>(PT_LOAD), phdr->p_type);
364 EXPECT_EQ(sizeof(Ehdr) + sizeof(Phdr), phdr->p_offset);
365 EXPECT_EQ(0U, phdr->p_vaddr);
366 EXPECT_EQ(0U, phdr->p_paddr);
367 EXPECT_EQ(4096U, phdr->p_filesz);
368 EXPECT_EQ(4096U + 16U, phdr->p_memsz);
369 EXPECT_EQ(0U, phdr->p_flags);
370 EXPECT_EQ(0U, phdr->p_align);