• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

SamboyCoding / Cpp2IL / 13931838342

18 Mar 2025 07:26PM UTC coverage: 27.187% (-0.09%) from 27.279%
13931838342

Pull #425

github

web-flow
Merge 47060cc8e into 6f9cec570
Pull Request #425: Add support for the Mach-O universal file format

1270 of 6472 branches covered (19.62%)

Branch coverage included in aggregate %.

2 of 55 new or added lines in 4 files covered. (3.64%)

3379 of 10628 relevant lines covered (31.79%)

122585.14 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/LibCpp2IL/MachO/MachOUniversalFileEntry.cs
1
namespace LibCpp2IL.MachO;
2

3
public class MachOUniversalFileEntry : ReadableClass
4
{
5
    public MachOCpuType CpuType; //cpu specifier of MachOFile
6
    public MachOCpuSubtype CpuSubtype; //cpu specifier of MachOFile
7
    public ulong FileOffset; // offset of MachOFile in universal container
8
    public ulong FileSize; // size of MachOFile
9
    public uint FileAlignment; // alignment of MachOFile
10

11
    public override void Read(ClassReadingBinaryReader reader)
12
    {
NEW
13
        CpuType = (MachOCpuType)reader.ReadUInt32WithReversedBits();
×
NEW
14
        CpuSubtype = (MachOCpuSubtype)reader.ReadUInt32WithReversedBits();
×
NEW
15
        FileOffset = reader.ReadUInt32WithReversedBits();
×
NEW
16
        FileSize = reader.ReadUInt32WithReversedBits();
×
NEW
17
        FileAlignment = reader.ReadUInt32WithReversedBits();
×
NEW
18
    }
×
19
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc