Lines Matching refs:MachOObjectFile
1 //===- MachOObjectFile.cpp - Mach-O object file binding ---------*- C++ -*-===//
10 // This file defines the MachOObjectFile class, which binds the MachOObject
31 MachOObjectFile::MachOObjectFile(MemoryBuffer *Object, MachOObject *MOO,
54 // MachOObjectFile does, too, so we need to make sure they don't get the
57 // the MachOObjectFile.
61 return new MachOObjectFile(NewBuffer, MachOObj, ec);
66 void MachOObjectFile::moveToNextSymbol(DataRefImpl &DRI) const {
82 void MachOObjectFile::getSymbolTableEntry(DataRefImpl DRI,
97 void MachOObjectFile::getSymbol64TableEntry(DataRefImpl DRI,
113 error_code MachOObjectFile::getSymbolNext(DataRefImpl DRI,
121 error_code MachOObjectFile::getSymbolName(DataRefImpl DRI,
135 error_code MachOObjectFile::getSymbolFileOffset(DataRefImpl DRI,
160 error_code MachOObjectFile::getSymbolAddress(DataRefImpl DRI,
174 error_code MachOObjectFile::getSymbolSize(DataRefImpl DRI,
247 error_code MachOObjectFile::getSymbolNMTypeChar(DataRefImpl DRI,
282 error_code MachOObjectFile::getSymbolFlags(DataRefImpl DRI,
322 error_code MachOObjectFile::getSymbolSection(DataRefImpl Symb,
343 error_code MachOObjectFile::getSymbolType(DataRefImpl Symb,
375 symbol_iterator MachOObjectFile::begin_symbols() const {
382 symbol_iterator MachOObjectFile::end_symbols() const {
388 symbol_iterator MachOObjectFile::begin_dynamic_symbols() const {
390 report_fatal_error("Dynamic symbols unimplemented in MachOObjectFile");
393 symbol_iterator MachOObjectFile::end_dynamic_symbols() const {
395 report_fatal_error("Dynamic symbols unimplemented in MachOObjectFile");
398 library_iterator MachOObjectFile::begin_libraries_needed() const {
400 report_fatal_error("Needed libraries unimplemented in MachOObjectFile");
403 library_iterator MachOObjectFile::end_libraries_needed() const {
405 report_fatal_error("Needed libraries unimplemented in MachOObjectFile");
408 StringRef MachOObjectFile::getLoadName() const {
410 report_fatal_error("get_load_name() unimplemented in MachOObjectFile");
415 void MachOObjectFile::moveToNextSection(DataRefImpl &DRI) const {
436 error_code MachOObjectFile::getSectionNext(DataRefImpl DRI,
445 MachOObjectFile::getSection(DataRefImpl DRI,
453 std::size_t MachOObjectFile::getSectionIndex(DataRefImpl Sec) const {
461 MachOObjectFile::getSection64(DataRefImpl DRI,
477 error_code MachOObjectFile::getSectionName(DataRefImpl DRI,
506 error_code MachOObjectFile::getSectionAddress(DataRefImpl DRI,
520 error_code MachOObjectFile::getSectionSize(DataRefImpl DRI,
534 error_code MachOObjectFile::getSectionContents(DataRefImpl DRI,
548 error_code MachOObjectFile::getSectionAlignment(DataRefImpl DRI,
562 error_code MachOObjectFile::isSectionText(DataRefImpl DRI,
576 error_code MachOObjectFile::isSectionData(DataRefImpl DRI,
583 error_code MachOObjectFile::isSectionBSS(DataRefImpl DRI,
590 error_code MachOObjectFile::isSectionRequiredForExecution(DataRefImpl Sec,
597 error_code MachOObjectFile::isSectionVirtual(DataRefImpl Sec,
604 error_code MachOObjectFile::isSectionZeroInit(DataRefImpl DRI,
623 error_code MachOObjectFile::sectionContainsSymbol(DataRefImpl Sec,
653 relocation_iterator MachOObjectFile::getSectionRelBegin(DataRefImpl Sec) const {
658 relocation_iterator MachOObjectFile::getSectionRelEnd(DataRefImpl Sec) const {
675 section_iterator MachOObjectFile::begin_sections() const {
681 section_iterator MachOObjectFile::end_sections() const {
689 void MachOObjectFile::
704 error_code MachOObjectFile::getRelocationNext(DataRefImpl Rel,
710 error_code MachOObjectFile::getRelocationAddress(DataRefImpl Rel,
737 error_code MachOObjectFile::getRelocationOffset(DataRefImpl Rel,
751 error_code MachOObjectFile::getRelocationSymbol(DataRefImpl Rel,
771 error_code MachOObjectFile::getRelocationType(DataRefImpl Rel,
780 error_code MachOObjectFile::getRelocationTypeName(DataRefImpl Rel,
880 error_code MachOObjectFile::getRelocationAdditionalInfo(DataRefImpl Rel,
918 void MachOObjectFile::printRelocationTargetName(
988 error_code MachOObjectFile::getRelocationValueString(DataRefImpl Rel,
1202 error_code MachOObjectFile::getRelocationHidden(DataRefImpl Rel,
1240 error_code MachOObjectFile::getLibraryNext(DataRefImpl LibData,
1242 report_fatal_error("Needed libraries unimplemented in MachOObjectFile");
1245 error_code MachOObjectFile::getLibraryPath(DataRefImpl LibData,
1247 report_fatal_error("Needed libraries unimplemented in MachOObjectFile");
1253 uint8_t MachOObjectFile::getBytesInAddress() const {
1257 StringRef MachOObjectFile::getFileFormatName() const {
1285 unsigned MachOObjectFile::getArch() const {