Lines Matching refs:SHdr
102 bool shouldPrintSection(const ELFYAML::Section &S, const Elf_Shdr &SHdr,
183 const Elf_Shdr &SHdr, in shouldPrintSection() argument
188 if (S.Type == ELF::SHT_NULL && (&SHdr == &Sections[0])) { in shouldPrintSection()
189 const uint8_t *Begin = reinterpret_cast<const uint8_t *>(&SHdr); in shouldPrintSection()
438 const typename ELFT::Shdr &SHdr, in isInSegment() argument
446 SHdr.sh_offset >= Phdr.p_offset && in isInSegment()
447 (SHdr.sh_offset + SHdr.sh_size <= Phdr.p_offset + Phdr.p_filesz); in isInSegment()
449 bool VirtualAddressesMatch = SHdr.sh_addr >= Phdr.p_vaddr && in isInSegment()
450 SHdr.sh_addr <= Phdr.p_vaddr + Phdr.p_memsz; in isInSegment()
456 if (SHdr.sh_size == 0 && (SHdr.sh_offset == Phdr.p_offset || in isInSegment()
457 SHdr.sh_offset == Phdr.p_offset + Phdr.p_filesz)) in isInSegment()