Lines Matching defs:MachOObjectFile
1 //===- MachOObjectFile.cpp - Mach-O object file binding ---------*- C++ -*-===//
10 // This file defines the MachOObjectFile class, which binds the MachOObject
30 MachOObjectFile::MachOObjectFile(MemoryBuffer *Object, MachOObject *MOO,
53 // MachOObjectFile does, too, so we need to make sure they don't get the
56 // the MachOObjectFile.
60 return new MachOObjectFile(NewBuffer, MachOObj, ec);
65 void MachOObjectFile::moveToNextSymbol(DataRefImpl &DRI) const {
81 void MachOObjectFile::getSymbolTableEntry(DataRefImpl DRI,
96 void MachOObjectFile::getSymbol64TableEntry(DataRefImpl DRI,
112 error_code MachOObjectFile::getSymbolNext(DataRefImpl DRI,
120 error_code MachOObjectFile::getSymbolName(DataRefImpl DRI,
134 error_code MachOObjectFile::getSymbolFileOffset(DataRefImpl DRI,
159 error_code MachOObjectFile::getSymbolAddress(DataRefImpl DRI,
173 error_code MachOObjectFile::getSymbolSize(DataRefImpl DRI,
246 error_code MachOObjectFile::getSymbolNMTypeChar(DataRefImpl DRI,
281 error_code MachOObjectFile::getSymbolFlags(DataRefImpl DRI,
321 error_code MachOObjectFile::getSymbolSection(DataRefImpl Symb,
342 error_code MachOObjectFile::getSymbolType(DataRefImpl Symb,
373 error_code MachOObjectFile::getSymbolValue(DataRefImpl Symb,
375 report_fatal_error("getSymbolValue unimplemented in MachOObjectFile");
378 symbol_iterator MachOObjectFile::begin_symbols() const {
385 symbol_iterator MachOObjectFile::end_symbols() const {
391 symbol_iterator MachOObjectFile::begin_dynamic_symbols() const {
393 report_fatal_error("Dynamic symbols unimplemented in MachOObjectFile");
396 symbol_iterator MachOObjectFile::end_dynamic_symbols() const {
398 report_fatal_error("Dynamic symbols unimplemented in MachOObjectFile");
401 library_iterator MachOObjectFile::begin_libraries_needed() const {
403 report_fatal_error("Needed libraries unimplemented in MachOObjectFile");
406 library_iterator MachOObjectFile::end_libraries_needed() const {
408 report_fatal_error("Needed libraries unimplemented in MachOObjectFile");
411 StringRef MachOObjectFile::getLoadName() const {
413 report_fatal_error("get_load_name() unimplemented in MachOObjectFile");
418 void MachOObjectFile::moveToNextSection(DataRefImpl &DRI) const {
439 error_code MachOObjectFile::getSectionNext(DataRefImpl DRI,
448 MachOObjectFile::getSection(DataRefImpl DRI,
454 std::size_t MachOObjectFile::getSectionIndex(DataRefImpl Sec) const {
462 MachOObjectFile::getSection64(DataRefImpl DRI,
484 error_code MachOObjectFile::getSectionName(DataRefImpl DRI,
506 error_code MachOObjectFile::getSectionFinalSegmentName(DataRefImpl Sec,
528 error_code MachOObjectFile::getSectionAddress(DataRefImpl DRI,
542 error_code MachOObjectFile::getSectionSize(DataRefImpl DRI,
556 error_code MachOObjectFile::getSectionContents(DataRefImpl DRI,
570 error_code MachOObjectFile::getSectionAlignment(DataRefImpl DRI,
584 error_code MachOObjectFile::isSectionText(DataRefImpl DRI,
598 error_code MachOObjectFile::isSectionData(DataRefImpl DRI,
605 error_code MachOObjectFile::isSectionBSS(DataRefImpl DRI,
612 error_code MachOObjectFile::isSectionRequiredForExecution(DataRefImpl Sec,
619 error_code MachOObjectFile::isSectionVirtual(DataRefImpl Sec,
626 error_code MachOObjectFile::isSectionZeroInit(DataRefImpl DRI,
645 error_code MachOObjectFile::isSectionReadOnlyData(DataRefImpl Sec,
656 error_code MachOObjectFile::sectionContainsSymbol(DataRefImpl Sec,
686 relocation_iterator MachOObjectFile::getSectionRelBegin(DataRefImpl Sec) const {
691 relocation_iterator MachOObjectFile::getSectionRelEnd(DataRefImpl Sec) const {
708 section_iterator MachOObjectFile::begin_sections() const {
714 section_iterator MachOObjectFile::end_sections() const {
722 void MachOObjectFile::
737 error_code MachOObjectFile::getRelocationNext(DataRefImpl Rel,
743 error_code MachOObjectFile::getRelocationAddress(DataRefImpl Rel,
770 error_code MachOObjectFile::getRelocationOffset(DataRefImpl Rel,
784 error_code MachOObjectFile::getRelocationSymbol(DataRefImpl Rel,
804 error_code MachOObjectFile::getRelocationType(DataRefImpl Rel,
813 error_code MachOObjectFile::getRelocationTypeName(DataRefImpl Rel,
913 error_code MachOObjectFile::getRelocationAdditionalInfo(DataRefImpl Rel,
951 void MachOObjectFile::printRelocationTargetName(
1021 error_code MachOObjectFile::getRelocationValueString(DataRefImpl Rel,
1236 error_code MachOObjectFile::getRelocationHidden(DataRefImpl Rel,
1274 error_code MachOObjectFile::getLibraryNext(DataRefImpl LibData,
1276 report_fatal_error("Needed libraries unimplemented in MachOObjectFile");
1279 error_code MachOObjectFile::getLibraryPath(DataRefImpl LibData,
1281 report_fatal_error("Needed libraries unimplemented in MachOObjectFile");
1287 uint8_t MachOObjectFile::getBytesInAddress() const {
1291 StringRef MachOObjectFile::getFileFormatName() const {
1322 unsigned MachOObjectFile::getArch() const {