From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:Mach-O" |
|---|
| claim | "LC_BUILD_VERSION platform field: 1 macOS, 2 iOS, 3 tvOS, 4 watchOS, 5 bridgeOS, 6 Mac Catalyst, 7 iOS simulator, 8 tvOS simulator, 9 watchOS simulator, 10 DriverKit." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Mach-O" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "mach_platform" |
|---|
| underlying_type | "u32" |
|---|
| values | | PLATFORM_MACOS | 1 |
|---|
| PLATFORM_IOS | 2 |
|---|
| PLATFORM_TVOS | 3 |
|---|
| PLATFORM_WATCHOS | 4 |
|---|
| PLATFORM_BRIDGEOS | 5 |
|---|
| PLATFORM_MACCATALYST | 6 |
|---|
| PLATFORM_IOSSIMULATOR | 7 |
|---|
| PLATFORM_TVOSSIMULATOR | 8 |
|---|
| PLATFORM_WATCHOSSIMULATOR | 9 |
|---|
| PLATFORM_DRIVERKIT | 10 |
|---|
|
|---|
| complete | true |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "PLATFORM_* defines" |
|---|
| repo | "https://github.com/apple-oss-distributions/xnu" |
|---|
| commit | "f6217f891ac0bb64f3d375211650a4c1ff8ca1ea" |
|---|
| path | "EXTERNAL_HEADERS/mach-o/loader.h" |
|---|
| lines | "1276-1286" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "LC_BUILD_VERSION platform ids" |
|---|
| topic | "Format:Mach-O/Load commands" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T05:03:44.462Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T06:59:43.989Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read loader.h at f6217f891ac0 lines 1276-1286: PLATFORM_MACOS 1 to PLATFORM_DRIVERKIT 10 match (PLATFORM_MAX is an alias of 10)." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T17:39:58.754Z" |
|---|
| summary | "Mark complete: loader.h PLATFORM_MACOS 1 .. PLATFORM_DRIVERKIT 10 (PLATFORM_MAX = DRIVERKIT), 10 values" |
|---|
| changed | |
|---|
|
|
|---|