From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "magic" |
|---|
| subject | "Format:Qt translation (QM)" |
|---|
| claim | "A Qt .qm translation file begins with the 16 bytes 3C B8 64 18 CA EF 9C 95 CD 21 1C BF 60 A1 BD DD (an mcookie value); QTranslator::load rejects data that does not start with it." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Qt translation (QM)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | bytes | "3C B8 64 18 CA EF 9C 95 CD 21 1C BF 60 A1 BD DD" |
|---|
| offset | 0 |
|---|
| meaning | "Qt .qm compiled translation" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "magic[MagicLength] array; checked with memcmp in load()" |
|---|
| repo | "https://github.com/qt/qtbase" |
|---|
| commit | "b99cb0eb78d85506ad39afde16a4a268f2c2fdab" |
|---|
| path | "src/corelib/kernel/qtranslator.cpp" |
|---|
| lines | "55-67" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "QM magic" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T18:05:05.869Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T09:12:56.301Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read qtranslator.cpp at the cited commit: magic[16] = 3c b8 64 18 ca ef 9c 95 cd 21 1c bf 60 a1 bd dd (line 62-65); load paths compare the first MagicLength bytes with memcmp (lines 525, 548-550, 770) and reject otherwise." |
|---|
|
|
|---|