1 instantiation of MachObjectFile
Microsoft.NET.HostModel (1)
MachO\MachObjectFile.cs (1)
95return new MachObjectFile(
18 references to MachObjectFile
Microsoft.NET.HostModel (18)
AppHost\HostWriter.cs (4)
132appHostSourceLength + MachObjectFile.GetSignatureSizeEstimate((uint)appHostSourceLength, destinationFileName) 139isMachOImage = MachObjectFile.IsMachOImage(appHostSourceStream); 154MachObjectFile machObjectFile = MachObjectFile.Create(file);
Bundle\Bundler.cs (3)
330bundleTotalSize += MachObjectFile.GetSignatureSizeEstimate((uint)bundleTotalSize, _hostName); 346MachObjectFile? machFile = null; 352machFile = MachObjectFile.Create(machFileReader);
Bundle\TargetInfo.cs (1)
86return IsWindows ? PEUtils.IsPEImage(filePath) : IsOSX ? MachObjectFile.IsMachOImage(filePath) : ElfUtils.IsElfImage(filePath);
MachO\BinaryFormat\Blobs\CodeDirectoryBlob.cs (2)
123uint pageSize = MachObjectFile.DefaultPageSize) 291internal static uint GetCodeSlotCount(uint signatureStart, uint pageSize = MachObjectFile.DefaultPageSize)
MachO\MachObjectFile.cs (8)
61public static MachObjectFile Create(MemoryMappedViewAccessor accessor) 66public static MachObjectFile Create(Stream stream) 72/// Reads the information from a memory mapped Mach-O file and creates a <see cref="MachObjectFile"/> that represents it. 74public static MachObjectFile Create(IMachOFileReader file) 130private static EmbeddedSignatureBlob CreateSignature(MachObjectFile machObject, IMachOFileReader file, string identifier) 242MachObjectFile machFile = Create(file); 260public static void AssertEquivalent(MachObjectFile a, MachObjectFile b)