From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "signature" |
|---|
| subject | "Library:Liblzma" |
|---|
| claim | "liblzma's LZMA encoder price table lzma_rc_prices[128] (128, 103, 91, 84, 78, 73, 69, 66, ...) is a static uint8 array, unchanged since 5.0.0, present whenever the LZMA1/LZMA2 encoder is linked; 7-Zip's encoder computes ProbPrices at run time." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "Library:Liblzma" |
|---|
| observed_in | |
|---|
|
|---|
| data | | pattern | "80 67 5B 54 4E 49 45 42 3F 3D 3A 38 36 34 33 31 30 2E 2D 2C 2B 2A 29 28 27 26 25 24 23 22 22 21" |
|---|
| matches | "start of lzma_rc_prices (128 bytes)" |
|---|
| name | "lzma_rc_prices" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "const uint8_t lzma_rc_prices[RC_PRICE_TABLE_SIZE]; same numbers at v5.0.0, v5.2.5, v5.4.0, v5.6.0, HEAD" |
|---|
| repo | "https://github.com/tukaani-project/xz" |
|---|
| commit | "299eb5c3f597f107fd6019bf156885ac8bfaa5ea" |
|---|
| path | "src/liblzma/rangecoder/price_table.c" |
|---|
| lines | "7-24" |
|---|
|
| type | "byte_pattern" |
|---|
| detail | "All 128 bytes found once in liblzma-5.dll 5.6.3 (0x27160), msys-lzma-5.dll (0x25260) and _lzma.pyd (0x201A0)." |
|---|
|
| type | "source" |
|---|
| detail | "LzmaEnc_InitPriceTables fills ProbPrices at run time" |
|---|
| repo | "https://github.com/ip7z/7zip" |
|---|
| commit | "9128b80e3a471108678e2b3ec3c985861c8d7b0f" |
|---|
| path | "C/LzmaEnc.c" |
|---|
| lines | "839-860" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "lzma_rc_prices" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T16:35:45.609Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T11:18:08.989Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read rangecoder/price_table.c at 299eb5c3: lzma_rc_prices[RC_PRICE_TABLE_SIZE] has 128 entries; first 32 (128,103,91,84,...,33) equal the pattern." |
|---|
|
|
|---|