From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "signature" |
|---|
| subject | "Library:FreeType" |
|---|
| claim | "FreeType's TrueType bytecode interpreter (ttinterp.c) has a 256-byte table opcode_length[256] giving each opcode's length: 1 everywhere except NPUSHB/NPUSHW (0x40, 0x41) = -1, -2, PUSHB[0-7] (0xB0-0xB7) = 2..9 and PUSHW[0-7] (0xB8-0xBF) = 3, 5, 7, ..., 17. The pattern covers entries 0x40-0xBF, so the table starts 0x40 bytes before the match." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "Library:FreeType" |
|---|
| observed_in | |
|---|
|
|---|
| data | | pattern | "FF FE 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 02 03 04 05 06 07 08 09 03 05 07 09 0B 0D 0F 11" |
|---|
| matches | "opcode_length[0x40..0xBF]" |
|---|
| name | "opcode_length" |
|---|
| offset | -64 |
|---|
| multiple | false |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "const FT_Char opcode_length[256] = { 1 x 64, -1, -2, 1 x 110, 2, 3, 4, 5, 6, 7, 8, 9, 3, 5, 7, 9, 11, 13, 15, 17, 1 x 64 }" |
|---|
| repo | "https://github.com/freetype/freetype" |
|---|
| commit | "37515cf56ba3349656049edbed89ffc6f6466f2d" |
|---|
| path | "src/truetype/ttinterp.c" |
|---|
| lines | "1009-1030" |
|---|
|
| type | "byte_pattern" |
|---|
| detail | "Found once in all seven builds checked (2.6.2 to 2.14.3; PE, ELF32, COFF .lib); in none of 3386 Windows System32 DLLs (DirectWrite included)." |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | | "Code:FreeType/ftscan (Python)" |
|
|---|
| key | "TrueType opcode_length table" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T15:56:45.638Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T11:18:38.105Z" |
|---|
| result | "confirmed" |
|---|
| method | "Parsed opcode_length[256] from src/truetype/ttinterp.c at 37515cf5 (line 1009): 256 FT_Char entries; entries 0x40..0xBF as bytes equal the 128-byte pattern (FF FE, 110 x 01, 02..09, 03 05 .. 11)." |
|---|
|
|
|---|