Lines Matching refs:SHdr
109 bool shouldPrintSection(const ELFYAML::Section &S, const Elf_Shdr &SHdr,
189 const Elf_Shdr &SHdr, in shouldPrintSection() argument
194 if (S.Type == ELF::SHT_NULL && (&SHdr == &Sections[0])) { in shouldPrintSection()
195 const uint8_t *Begin = reinterpret_cast<const uint8_t *>(&SHdr); in shouldPrintSection()
410 const typename ELFT::Shdr &SHdr, in isInSegment() argument
418 SHdr.sh_offset >= Phdr.p_offset && in isInSegment()
419 (SHdr.sh_offset + SHdr.sh_size <= Phdr.p_offset + Phdr.p_filesz); in isInSegment()
421 bool VirtualAddressesMatch = SHdr.sh_addr >= Phdr.p_vaddr && in isInSegment()
422 SHdr.sh_addr <= Phdr.p_vaddr + Phdr.p_memsz; in isInSegment()
428 if (SHdr.sh_size == 0 && (SHdr.sh_offset == Phdr.p_offset || in isInSegment()
429 SHdr.sh_offset == Phdr.p_offset + Phdr.p_filesz)) in isInSegment()