Lines Matching refs:DyldInfo
653 MachO::dyld_info_command DyldInfo = DyldInfoOrErr.get(); in checkDyldInfoCommand() local
654 if (DyldInfo.cmdsize != sizeof(MachO::dyld_info_command)) in checkDyldInfoCommand()
658 if (DyldInfo.rebase_off > FileSize) in checkDyldInfoCommand()
662 uint64_t BigSize = DyldInfo.rebase_off; in checkDyldInfoCommand()
663 BigSize += DyldInfo.rebase_size; in checkDyldInfoCommand()
669 if (Error Err = checkOverlappingElement(Elements, DyldInfo.rebase_off, in checkDyldInfoCommand()
670 DyldInfo.rebase_size, in checkDyldInfoCommand()
673 if (DyldInfo.bind_off > FileSize) in checkDyldInfoCommand()
677 BigSize = DyldInfo.bind_off; in checkDyldInfoCommand()
678 BigSize += DyldInfo.bind_size; in checkDyldInfoCommand()
684 if (Error Err = checkOverlappingElement(Elements, DyldInfo.bind_off, in checkDyldInfoCommand()
685 DyldInfo.bind_size, in checkDyldInfoCommand()
688 if (DyldInfo.weak_bind_off > FileSize) in checkDyldInfoCommand()
692 BigSize = DyldInfo.weak_bind_off; in checkDyldInfoCommand()
693 BigSize += DyldInfo.weak_bind_size; in checkDyldInfoCommand()
699 if (Error Err = checkOverlappingElement(Elements, DyldInfo.weak_bind_off, in checkDyldInfoCommand()
700 DyldInfo.weak_bind_size, in checkDyldInfoCommand()
703 if (DyldInfo.lazy_bind_off > FileSize) in checkDyldInfoCommand()
707 BigSize = DyldInfo.lazy_bind_off; in checkDyldInfoCommand()
708 BigSize += DyldInfo.lazy_bind_size; in checkDyldInfoCommand()
714 if (Error Err = checkOverlappingElement(Elements, DyldInfo.lazy_bind_off, in checkDyldInfoCommand()
715 DyldInfo.lazy_bind_size, in checkDyldInfoCommand()
718 if (DyldInfo.export_off > FileSize) in checkDyldInfoCommand()
722 BigSize = DyldInfo.export_off; in checkDyldInfoCommand()
723 BigSize += DyldInfo.export_size; in checkDyldInfoCommand()
729 if (Error Err = checkOverlappingElement(Elements, DyldInfo.export_off, in checkDyldInfoCommand()
730 DyldInfo.export_size, in checkDyldInfoCommand()
4917 MachO::dyld_info_command DyldInfo = DyldInfoOrErr.get(); in getDyldInfoRebaseOpcodes() local
4919 reinterpret_cast<const uint8_t *>(getPtr(*this, DyldInfo.rebase_off)); in getDyldInfoRebaseOpcodes()
4920 return ArrayRef(Ptr, DyldInfo.rebase_size); in getDyldInfoRebaseOpcodes()
4931 MachO::dyld_info_command DyldInfo = DyldInfoOrErr.get(); in getDyldInfoBindOpcodes() local
4933 reinterpret_cast<const uint8_t *>(getPtr(*this, DyldInfo.bind_off)); in getDyldInfoBindOpcodes()
4934 return ArrayRef(Ptr, DyldInfo.bind_size); in getDyldInfoBindOpcodes()
4945 MachO::dyld_info_command DyldInfo = DyldInfoOrErr.get(); in getDyldInfoWeakBindOpcodes() local
4947 reinterpret_cast<const uint8_t *>(getPtr(*this, DyldInfo.weak_bind_off)); in getDyldInfoWeakBindOpcodes()
4948 return ArrayRef(Ptr, DyldInfo.weak_bind_size); in getDyldInfoWeakBindOpcodes()
4959 MachO::dyld_info_command DyldInfo = DyldInfoOrErr.get(); in getDyldInfoLazyBindOpcodes() local
4961 reinterpret_cast<const uint8_t *>(getPtr(*this, DyldInfo.lazy_bind_off)); in getDyldInfoLazyBindOpcodes()
4962 return ArrayRef(Ptr, DyldInfo.lazy_bind_size); in getDyldInfoLazyBindOpcodes()
4973 MachO::dyld_info_command DyldInfo = DyldInfoOrErr.get(); in getDyldInfoExportsTrie() local
4975 reinterpret_cast<const uint8_t *>(getPtr(*this, DyldInfo.export_off)); in getDyldInfoExportsTrie()
4976 return ArrayRef(Ptr, DyldInfo.export_size); in getDyldInfoExportsTrie()