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

SamboyCoding / Cpp2IL / 29695731106

19 Jul 2026 04:52PM UTC coverage: 37.768% (-0.1%) from 37.872%
29695731106

push

github

SamboyCoding
Lib: v107 and v108 support. Fix v106.1 support.

2917 of 8660 branches covered (33.68%)

Branch coverage included in aggregate %.

85 of 196 new or added lines in 17 files covered. (43.37%)

14 existing lines in 4 files now uncovered.

5310 of 13123 relevant lines covered (40.46%)

176459.26 hits per line

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

50.0
/LibCpp2IL/BinaryStructures/Il2CppGenericMethodFunctionsDefinitions.cs
1
using LibCpp2IL.Metadata;
2

3
namespace LibCpp2IL.BinaryStructures;
4

5
public class Il2CppGenericMethodFunctionsDefinitions : ReadableClass
6
{
7
    public int GenericMethodIndex;
8
    public int methodIndex;
9
    public int invokerIndex;
10

11
    //Present in v27.1 and v24.5, but not v27.0. In v108+ only present in the separate "with adjustor" metadata table.
12
    [Version(Min = 27.1f, Max = 108)] [Version(Min = 24.5f, Max = 24.5f)]
13
    public int adjustorThunk;
14

15
    public override void Read(ClassReadingBinaryReader reader)
16
    {
17
        if (IsAtLeast(108))
532,540!
18
        {
NEW
19
            GenericMethodIndex = Il2CppVariableWidthIndex<Il2CppMethodSpec>.Read(reader).Value;
×
NEW
20
            methodIndex = Il2CppVariableWidthIndex<Il2CppGenericMethodPointerTableDummy>.Read(reader).Value;
×
NEW
21
            invokerIndex = Il2CppVariableWidthIndex<Il2CppInvokerTableDummy>.Read(reader).Value;
×
NEW
22
            return;
×
23
        }
24

25
        GenericMethodIndex = reader.ReadInt32();
532,540✔
26
        methodIndex = reader.ReadInt32();
532,540✔
27
        invokerIndex = reader.ReadInt32();
532,540✔
28

29
        if (IsAtLeast(24.5f) && IsNot(27f))
532,540!
30
            adjustorThunk = reader.ReadInt32();
532,540✔
31
    }
532,540✔
32
}
33

34
//v108+ only. Entries whose method has an adjustor thunk live in this separate metadata table.
35
public class Il2CppGenericMethodFunctionsDefinitionsWithAdjustor : Il2CppGenericMethodFunctionsDefinitions
36
{
37
    public override void Read(ClassReadingBinaryReader reader)
38
    {
NEW
39
        base.Read(reader);
×
NEW
40
        adjustorThunk = Il2CppVariableWidthIndex<Il2CppAdjustorThunkTableDummy>.Read(reader).Value;
×
UNCOV
41
    }
×
42
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc