From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:NPDM" |
|---|
| claim | "META header byte 0xC (flags0) defines bit 0 64-bit instructions, bits 1-3 the process address space, bit 4 OptimizeMemoryAllocation, bit 5 DisableDeviceAddressSpaceMerge, bit 6 EnableAddressSanitizer, bit 7 PreventCodeReads; the address space values are 0 32-bit, 1 64-bit 36, 2 32-bit no reserved, 3 64-bit 39, 4 64-bit 42." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:NPDM" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "Npdm::ProcessAddressSpace (flags0 bits 1-3)" |
|---|
| underlying_type | "u8" |
|---|
| complete | true |
|---|
| values | | 0 | "ProcessAddressSpace_32Bit" |
|---|
| 1 | "ProcessAddressSpace_64Bit36" |
|---|
| 2 | "ProcessAddressSpace_32BitNoReserved" |
|---|
| 3 | "ProcessAddressSpace_64Bit39" |
|---|
| 4 | "ProcessAddressSpace_64Bit42" |
|---|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "struct Npdm: MetaFlag0 bit list (Is64BitInstruction 1<<0, ProcessAddressSpaceMask 7<<1, OptimizeMemoryAllocation 1<<4, DisableDeviceAddressSpaceMerge 1<<5, EnableAddressSanitizer 1<<6, PreventCodeReads 1<<7), MetaFlag1 has only EnableShadowStack (1<<0), ProcessAddressSpace enum 0-4; flags0 is at 0xC and flags1 at 0xD per member order" |
|---|
| repo | "Atmosphere-NX/Atmosphere" |
|---|
| commit | "6b0c077b4c608a3a2ee712b8dc35fee87ceb62e8" |
|---|
| path | "libraries/libstratosphere/include/stratosphere/ldr/ldr_types.hpp" |
|---|
| lines | "223-277" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "META flags and address space" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T12:50:38.533Z" |
|---|
| verifications | |
|---|