From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:PyOxidizer packed resources" |
|---|
| claim | "Field ids in the packed-resources resource index: 0x01 start, 0xFF end of entry, 0x00 end of index, 0x03 name (u16 length), 0x04-0x05 package flags, 0x06 in-memory source, 0x07-0x09 in-memory bytecode (opt 0/1/2), 0x0A in-memory extension module shared library, 0x0B resources data, 0x0C distribution resource, 0x0D shared library, 0x0E shared library dependency names, 0x0F-0x15 relative filesystem variants, 0x16-0x1B flags, 0x1C-0x1E file entries." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:PyOxidizer packed resources" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "ResourceField" |
|---|
| underlying_type | "uint8" |
|---|
| values | | 0x00 | "END_OF_INDEX" |
|---|
| 0x01 | "START_OF_ENTRY" |
|---|
| 0x03 | "NAME" |
|---|
| 0x04 | "IS_PYTHON_PACKAGE" |
|---|
| 0x05 | "IS_PYTHON_NAMESPACE_PACKAGE" |
|---|
| 0x06 | "IN_MEMORY_SOURCE" |
|---|
| 0x07 | "IN_MEMORY_BYTECODE" |
|---|
| 0x08 | "IN_MEMORY_BYTECODE_OPT1" |
|---|
| 0x09 | "IN_MEMORY_BYTECODE_OPT2" |
|---|
| 0x0a | "IN_MEMORY_EXTENSION_MODULE_SHARED_LIBRARY" |
|---|
| 0x0b | "IN_MEMORY_RESOURCES_DATA" |
|---|
| 0x0c | "IN_MEMORY_DISTRIBUTION_RESOURCE" |
|---|
| 0x0d | "IN_MEMORY_SHARED_LIBRARY" |
|---|
| 0x0e | "SHARED_LIBRARY_DEPENDENCY_NAMES" |
|---|
| 0x0f | "RELATIVE_FILESYSTEM_MODULE_SOURCE" |
|---|
| 0x10 | "RELATIVE_FILESYSTEM_MODULE_BYTECODE" |
|---|
| 0x11 | "RELATIVE_FILESYSTEM_MODULE_BYTECODE_OPT1" |
|---|
| 0x12 | "RELATIVE_FILESYSTEM_MODULE_BYTECODE_OPT2" |
|---|
| 0x13 | "RELATIVE_FILESYSTEM_EXTENSION_MODULE_SHARED_LIBRARY" |
|---|
| 0x14 | "RELATIVE_FILESYSTEM_PACKAGE_RESOURCES" |
|---|
| 0x15 | "RELATIVE_FILESYSTEM_DISTRIBUTION_RESOURCE" |
|---|
| 0x16 | "IS_PYTHON_MODULE" |
|---|
| 0x17 | "IS_PYTHON_BUILTIN_EXTENSION_MODULE" |
|---|
| 0x18 | "IS_PYTHON_FROZEN_MODULE" |
|---|
| 0x19 | "IS_PYTHON_EXTENSION_MODULE" |
|---|
| 0x1a | "IS_SHARED_LIBRARY" |
|---|
| 0x1b | "IS_UTF8_FILENAME_DATA" |
|---|
| 0x1c | "FILE_EXECUTABLE" |
|---|
| 0x1d | "FILE_DATA_EMBEDDED" |
|---|
| 0x1e | "FILE_DATA_UTF8_RELATIVE_PATH" |
|---|
| 0xff | "END_OF_ENTRY" |
|---|
|
|---|
| complete | true |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "enum ResourceField and its From<ResourceField> for u8 / TryFrom<u8> conversions (id 0x02 is unused: 'Flavor previously occupied slot 0x02'); the parser reads the name length as u16 and most payload lengths as u32" |
|---|
| repo | "https://github.com/indygreg/PyOxidizer" |
|---|
| commit | "1ceca8664c71f39e849ce4873e00d821504b32bd" |
|---|
| path | "python-packed-resources/src/serialization.rs" |
|---|
| lines | "77-190" |
|---|
|
| type | "source" |
|---|
| detail | "ResourceField::Name reads a u16 length (line 138), InMemorySource reads a u32 length (line 158)" |
|---|
| repo | "https://github.com/indygreg/PyOxidizer" |
|---|
| commit | "1ceca8664c71f39e849ce4873e00d821504b32bd" |
|---|
| path | "python-packed-resources/src/parser.rs" |
|---|
| lines | "134-160" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Resource field ids" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T22:49:38.687Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T11:30:12.643Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read serialization.rs at 1ceca866: both the From<ResourceField> for u8 table and the TryFrom<u8> match list the same 31 ids 0x00,0x01,0x03-0x1E,0xFF with the names in the fact; 0x02 absent." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T11:30:11.897Z" |
|---|
| summary | "serialization.rs lists exactly these 31 ids: mark complete." |
|---|
| changed | |
|---|
|
|
|---|