From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:Mach-O" |
|---|
| claim | "mach_header.filetype values: 1 OBJECT, 2 EXECUTE, 3 FVMLIB, 4 CORE, 5 PRELOAD, 6 DYLIB, 7 DYLINKER, 8 BUNDLE, 9 DYLIB_STUB, 0xA DSYM, 0xB KEXT_BUNDLE, 0xC FILESET." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Mach-O" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "mach_filetype" |
|---|
| underlying_type | "u32" |
|---|
| values | | MH_OBJECT | 1 |
|---|
| MH_EXECUTE | 2 |
|---|
| MH_FVMLIB | 3 |
|---|
| MH_CORE | 4 |
|---|
| MH_PRELOAD | 5 |
|---|
| MH_DYLIB | 6 |
|---|
| MH_DYLINKER | 7 |
|---|
| MH_BUNDLE | 8 |
|---|
| MH_DYLIB_STUB | 9 |
|---|
| MH_DSYM | 10 |
|---|
| MH_KEXT_BUNDLE | 11 |
|---|
| MH_FILESET | 12 |
|---|
|
|---|
| complete | true |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "MH_* filetype defines" |
|---|
| repo | "https://github.com/apple-oss-distributions/xnu" |
|---|
| commit | "f6217f891ac0bb64f3d375211650a4c1ff8ca1ea" |
|---|
| path | "EXTERNAL_HEADERS/mach-o/loader.h" |
|---|
| lines | "110-123" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Mach-O filetype values" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T05:03:44.367Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T06:59:43.921Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read loader.h at f6217f891ac0 lines 110-123: MH_OBJECT 0x1 to MH_FILESET 0xc match; no others." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T17:39:58.828Z" |
|---|
| summary | "Mark complete: loader.h MH_OBJECT 0x1 .. MH_FILESET 0xc, 12 filetypes" |
|---|
| changed | |
|---|
|
|
|---|