Home | History | Annotate | Download | only in Object

Lines Matching refs:Sec

260               unsigned Sec) {
269 uintptr_t SectionAddr = CommandAddr + SegmentLoadSize + Sec * SectionSize;
416 DataRefImpl Sec) {
418 MachO::section_64 Sect = O->getSection64(Sec);
421 MachO::section Sect = O->getSection(Sec);
449 const char *Sec = getSectionPtr(this, Load, J);
450 Sections.push_back(Sec);
578 DataRefImpl Sec;
579 Sec.d.a = SectionIndex-1;
580 getSectionSize(Sec, Size);
581 getSectionAddress(Sec, EndOffset);
664 void MachOObjectFile::moveSectionNext(DataRefImpl &Sec) const {
665 Sec.d.a++;
668 std::error_code MachOObjectFile::getSectionName(DataRefImpl Sec,
670 ArrayRef<char> Raw = getSectionRawName(Sec);
675 std::error_code MachOObjectFile::getSectionAddress(DataRefImpl Sec,
678 MachO::section_64 Sect = getSection64(Sec);
681 MachO::section Sect = getSection(Sec);
687 std::error_code MachOObjectFile::getSectionSize(DataRefImpl Sec,
690 MachO::section_64 Sect = getSection64(Sec);
693 MachO::section Sect = getSection(Sec);
700 std::error_code MachOObjectFile::getSectionContents(DataRefImpl Sec,
706 MachO::section_64 Sect = getSection64(Sec);
710 MachO::section Sect = getSection(Sec);
719 std::error_code MachOObjectFile::getSectionAlignment(DataRefImpl Sec,
723 MachO::section_64 Sect = getSection64(Sec);
726 MachO::section Sect = getSection(Sec);
734 std::error_code MachOObjectFile::isSectionText(DataRefImpl Sec,
736 uint32_t Flags = getSectionFlags(this, Sec);
741 std::error_code MachOObjectFile::isSectionData(DataRefImpl Sec,
743 uint32_t Flags = getSectionFlags(this, Sec);
751 std::error_code MachOObjectFile::isSectionBSS(DataRefImpl Sec,
753 uint32_t Flags = getSectionFlags(this, Sec);
762 MachOObjectFile::isSectionRequiredForExecution(DataRefImpl Sec,
769 std::error_code MachOObjectFile::isSectionVirtual(DataRefImpl Sec,
776 std::error_code MachOObjectFile::isSectionZeroInit(DataRefImpl Sec,
778 uint32_t Flags = getSectionFlags(this, Sec);
785 std::error_code MachOObjectFile::isSectionReadOnlyData(DataRefImpl Sec,
796 std::error_code MachOObjectFile::sectionContainsSymbol(DataRefImpl Sec,
807 getSectionAddress(Sec, SectBegin);
808 getSectionSize(Sec, SectEnd);
818 relocation_iterator MachOObjectFile::section_rel_begin(DataRefImpl Sec) const {
820 Ret.d.a = Sec.d.a;
826 MachOObjectFile::section_rel_end(DataRefImpl Sec) const {
829 MachO::section_64 Sect = getSection64(Sec);
832 MachO::section Sect = getSection(Sec);
837 Ret.d.a = Sec.d.a;
851 DataRefImpl Sec;
852 Sec.d.a = Rel.d.a;
854 getSectionAddress(Sec, SecAddress);
1662 MachOObjectFile::getSectionFinalSegmentName(DataRefImpl Sec) const {
1663 ArrayRef<char> Raw = getSectionRawFinalSegmentName(Sec);
1668 MachOObjectFile::getSectionRawName(DataRefImpl Sec) const {
1670 reinterpret_cast<const section_base *>(Sections[Sec.d.a]);
1675 MachOObjectFile::getSectionRawFinalSegmentName(DataRefImpl Sec) const {
1677 reinterpret_cast<const section_base *>(Sections[Sec.d.a]);
1782 const char *Sec = getSectionPtr(this, L, Index);
1783 return getStruct<MachO::section>(this, Sec);
1788 const char *Sec = getSectionPtr(this, L, Index);
1789 return getStruct<MachO::section_64>(this, Sec);
1837 DataRefImpl Sec;
1838 Sec.d.a = Rel.d.a;
1841 MachO::section_64 Sect = getSection64(Sec);
1844 MachO::section Sect = getSection(Sec);