From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "behavior" |
|---|
| subject | "Format:LZFSE" |
|---|
| claim | "LZVN decoder opcode table (256-entry jump table): 0x06 end of stream, 0x0E and 0x16 nop, 0xA0-0xBF medium-distance match, 0xE0 large literal and 0xE1-0xEF small literal, 0xF0 large match and 0xF1-0xFF small match; undefined (the decoder fails): 0x1E, 0x26, 0x2E, 0x36, 0x3E, 0x70-0x7F and 0xD0-0xDF. The other opcodes are small-distance (low 3 bits 0-5), previous-distance (low 3 bits 6) or large-distance (low 3 bits 7) matches." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "LZVN blocks (bvxn)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | trigger | "decoding an opcode byte of a bvxn block" |
|---|
| effect | "selects the instruction class from the 256-entry jump table" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "opc_tbl jump table" |
|---|
| repo | "https://github.com/lzfse/lzfse" |
|---|
| commit | "e634ca58b4821d9f3d560cdc6df5dec02ffc93fd" |
|---|
| path | "src/lzvn_decode_base.c" |
|---|
| lines | "50-85" |
|---|
|
| type | "source" |
|---|
| detail | "opc_tbl rows: udef at 0x1E,0x26,0x2E,0x36,0x3E (column 6 of rows 3-7), whole rows 0x70-0x7F and 0xD0-0xDF" |
|---|
| repo | "https://github.com/lzfse/lzfse" |
|---|
| commit | "e634ca58b4821d9f3d560cdc6df5dec02ffc93fd" |
|---|
| path | "src/lzvn_decode_base.c" |
|---|
| lines | "50-85" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "LZVN opcode table" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T01:30:44.188Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T07:06:16.940Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read lzfse src/lzvn_decode_base.c at e634ca5 opc_tbl (lines 48-85) row by row: eos 0x06, nop 0x0E/0x16, udef at 0x1E,0x26,0x2E,0x36,0x3E, rows 0x70-0x7F and 0xD0-0xDF, med_d 0xA0-0xBF, lrg_l 0xE0, sml_l 0xE1-0xEF, lrg_m 0xF0, sml_m 0xF1-0xFF, pre_d at column 6 from 0x46. Matches." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T06:51:52.801Z" |
|---|
| summary | "The undefined list was incomplete: the jump table also marks 0x26, 0x2E, 0x36 and 0x3E undefined (the seventh entry of rows 0x20-0x3F), not only 0x1E. Counted every row of opc_tbl in…" |
|---|
| changed | |
|---|
|
|
|---|