s_codecTable
global · storm
- Address
0x80fa1c· 48 bytes, up to0x80fa4b- Type
uint32_t[12]- Meaning
- Holds six mask and function pairs of the codecs: 0x40, 0x80, 0x20, 0x01, 0x02, 0x10
- Confidence
- verified, proof two
- Finding
- storm/format#codecs
Finding: Codecs in storm: the archive format
A compressed sector's first byte is a mask of codecs. 0x661a80 accepts only the bits 0x01 (0x661350), 0x02
(0x660800), 0x10 (0x660c10), 0x20 (0x660ac0), 0x40 (0x660f60) and 0x80 (0x6611e0); any other bit fails
the call. It applies the codecs of the set bits in the order 0x10, 0x02, 0x01, 0x20, 0x80, 0x40. Equal
packed and unpacked sizes copy the bytes.
The derivation is in the doc.