refactor(macho): read LC_BUILD_VERSION fields through BinaryReader

The build-version platform and tool count were read through a local
DataView after the command-size check. Read them with machoWordReader,
as the other load-command decoders do, and drop the now-unused viewOf.

Refs #11865

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
This commit is contained in:
gensokyo-devandgensokyo-dev authored and Ysopwnable committed 2026-11-21 19:52:16 +01:00
1 parent add4faf2ad
commit a0d2357230
2 files changed
+3 -7

No files matched your search

@@ -1,5 +1,4 @@
{
"src/domain/apple/machoLoadCommandReader.ts": 2,
"src/domain/desktop/openPgpKeys.ts": 2,
"src/domain/managed/managedMetadataInventoryRows.ts": 2,
"src/native/AppleDispatchMetadata.ts": 1,