Skip to content

Commit

Permalink
Remove 14.3 beta offsets and add new hash for binary. (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
skiman6010 authored Jan 24, 2024
1 parent 6736166 commit c59e959
Showing 1 changed file with 3 additions and 41 deletions.
44 changes: 3 additions & 41 deletions nac/offsets.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,41 +182,7 @@ var offsets_14_2 = imdOffsetTuple{
},
}

var offsets_14_3_b1 = imdOffsetTuple{
x86: imdOffsets{
ReferenceSymbol: "IDSProtoKeyTransparencyTrustedServiceReadFrom",
ReferenceAddress: 0xd45d9,
NACInitAddress: 0x54c660,
NACKeyEstablishmentAddress: 0x52c6a0,
NACSignAddress: 0x53f990,
},
arm64: imdOffsets{
ReferenceSymbol: "IDSProtoKeyTransparencyTrustedServiceReadFrom",
ReferenceAddress: 0xbd6f4,
NACInitAddress: 0x4b54e0,
NACKeyEstablishmentAddress: 0x4a2d44,
NACSignAddress: 0x47cf50,
},
}

var offsets_14_3_b2 = imdOffsetTuple{
x86: imdOffsets{
ReferenceSymbol: "IDSProtoKeyTransparencyTrustedServiceReadFrom",
ReferenceAddress: 0xd4d39,
NACInitAddress: 0x54c6c0,
NACKeyEstablishmentAddress: 0x52c700,
NACSignAddress: 0x53f9f0,
},
arm64: imdOffsets{
ReferenceSymbol: "IDSProtoKeyTransparencyTrustedServiceReadFrom",
ReferenceAddress: 0xbdbdc,
NACInitAddress: 0x4b5590,
NACKeyEstablishmentAddress: 0x4a2df4,
NACSignAddress: 0x47d000,
},
}

var offsets_14_3_b3 = imdOffsetTuple{
var offsets_14_3 = imdOffsetTuple{
x86: imdOffsets{
ReferenceSymbol: "IDSProtoKeyTransparencyTrustedServiceReadFrom",
ReferenceAddress: 0x0d47c9,
Expand Down Expand Up @@ -277,12 +243,8 @@ var offsets = map[[32]byte]imdOffsetTuple{
hexToByte32("47aa51e63ced0bb00dd27dab0def6f065a1a4911e250b79761681865fbd03644"): offsets_14_1,
// macOS 14.2
hexToByte32("034fc179e1cce559931a8e46866f54154cb1c5413902319473537527a2702b64"): offsets_14_2,
// macOS 14.3 (beta 1) TODO remove betas after release
hexToByte32("5b50140c83131b4f4bc32f5eb0679cf0763d41d3bfc4cc1c7a67e9c95779dc24"): offsets_14_3_b1,
// macOS 14.3 (beta 2)
hexToByte32("1bb81b44add0f5f94a6b2abc0560fd3b6958667aad17208622163b16d35c7637"): offsets_14_3_b2,
// macOS 14.3 (beta 3)
hexToByte32("925c30618e05ee9e8f457073c8adb4e72f67b974a27855f7d463d69018d97822"): offsets_14_3_b3,
// macOS 14.3
hexToByte32("d3c6986fefcbd2efea2a8a7c88104bf22d60d1f4f2bbf3615a1e3ce098aba765"): offsets_14_3,
}

type imdOffsetTuple struct {
Expand Down

0 comments on commit c59e959

Please sign in to comment.