Skip to content

Commit

Permalink
Merge pull request #96 from RoadTrain/patch-1
Browse files Browse the repository at this point in the history
MachO: Fix a typo in x64 BE magic number
  • Loading branch information
konrad-kruczynski authored Oct 13, 2023
2 parents 37620f6 + 5786007 commit 00af95d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ELFSharp/MachO/MachOReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public static MachOResult TryLoadFat(Stream stream, bool shouldOwnStream, out IR
{ 0xFEEDFACE, (false, Endianess.LittleEndian) },
{ 0xFEEDFACF, (true, Endianess.LittleEndian) },
{ 0xCEFAEDFE, (false, Endianess.BigEndian) },
{ 0xCFFEEDFE, (true, Endianess.BigEndian) }
{ 0xCFFAEDFE, (true, Endianess.BigEndian) }
};

private const uint FatMagic = 0xBEBAFECA;
Expand Down

0 comments on commit 00af95d

Please sign in to comment.