Skip to content

Commit a5b732a

Browse files
Merge branch 'feat/assemblystore-v4' into feat/assemblystore-zstd
2 parents e7db72a + 4ee11d6 commit a5b732a

3 files changed

Lines changed: 0 additions & 5 deletions

File tree

‎src/Sentry.Android.AssemblyReader/V2/StoreReader.Classes.cs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ private sealed class Header
2121
// Index size in bytes
2222
public readonly uint index_size;
2323

24-
// Only present in v4+ stores
2524
public readonly ulong content_id;
2625

2726
public uint NativeSize => 5 * sizeof(uint) + ((version & ASSEMBLY_STORE_FORMAT_NUMBER_MASK) >= 4 ? sizeof(ulong) : 0u);

‎src/Sentry.Android.AssemblyReader/V2/StoreReader.cs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ namespace Sentry.Android.AssemblyReader.V2;
1212
internal partial class StoreReader : AssemblyStoreReader
1313
{
1414
// Bit 31 is set for 64-bit platforms, cleared for the 32-bit ones
15-
// Each .NET release bumps the assembly store format: v3 in .NET 10, v4 (CoreCLR) in .NET 11.
1615
private const uint ASSEMBLY_STORE_FORMAT_VERSION_64BIT_V3 = 0x80000003;
1716
private const uint ASSEMBLY_STORE_FORMAT_VERSION_32BIT_V3 = 0x00000003;
1817
private const uint ASSEMBLY_STORE_FORMAT_VERSION_CORECLR_64BIT_V4 = 0x80000004; // Must match the ASSEMBLY_STORE_FORMAT_VERSION native constant

‎test/Sentry.Android.AssemblyReader.Tests/StoreReaderTests.cs‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ public void Create_UnsupportedVersion_ReturnsNull(uint version)
3838
reader.Should().BeNull();
3939
}
4040

41-
/// <summary>
42-
/// Builds a minimal assembly store with a single assembly, using the v3/v4 layout.
43-
/// </summary>
4441
private static MemoryStream CreateStore(uint version, bool is64Bit, string assemblyName)
4542
{
4643
var stream = new MemoryStream();

0 commit comments

Comments
 (0)