Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
lib/zstd/decompress/zstd_decompress.c ZSTD_decompressContinue() -> ZSTD_decodeFrameHeader()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dctx | 4096-ptr_max |
| PARAM_VALUE | 0 | dctx->dictID | 0 |
| PARAM_VALUE | 0 | dctx->expected | 1-u64max |
| PARAM_VALUE | 0 | dctx->headerBuffer | 4096-ptr_max |
| PARAM_VALUE | 0 | dctx->stage | 1 |
| PARAM_VALUE | 0 | dctx->streamStage | 2 |
| PARAM_VALUE | 0 | dctx->xxhState.memsize | 0 |
| PARAM_VALUE | 0 | dctx->xxhState.total_len | 0 |
| PARAM_VALUE | 0 | *dctx->entropy.hufTable | 0-4294967295 |
| PARAM_VALUE | 0 | *dctx->entropy.rep | 0-4294967295 |
| PARAM_VALUE | 0 | *dctx->entropy.workspace | 0-4294967295 |
| PARAM_VALUE | 0 | *dctx->headerBuffer | 0-255 |
| PARAM_VALUE | 0 | *dctx->virtualStart | 0-255 |
| PARAM_VALUE | 0 | *dctx->workspace | 0-4294967295 |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 1 | *src | 0-255 |
| BUF_SIZE | 0 | dctx | (-1),1-s32max |
| BUF_SIZE | 0 | dctx | (-1),1-s32max |
| BUF_SIZE | 1 | src | 18 |
| DATA_SOURCE | 0 | dctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dctx->expectedOutBuffer.size | 1-83778[c] |
| UNITS | 2 | headerSize | unit_byte |
lib/zstd/decompress/zstd_decompress.c ZSTD_decompressFrame() -> ZSTD_decodeFrameHeader()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dctx | 4096-ptr_max |
| PARAM_VALUE | 0 | dctx->bType | 3 |
| PARAM_VALUE | 0 | dctx->decodedSize | 0 |
| PARAM_VALUE | 0 | dctx->expected | 1,5 |
| PARAM_VALUE | 0 | dctx->fseEntropy | 0-1 |
| PARAM_VALUE | 0 | dctx->isFrameDecompression | 1 |
| PARAM_VALUE | 0 | dctx->litEntropy | 0-1 |
| PARAM_VALUE | 0 | dctx->processedCSize | 0 |
| PARAM_VALUE | 0 | dctx->stage | 0 |
| PARAM_VALUE | 0 | *dctx->entropy.rep | 0-4294967295 |
| PARAM_VALUE | 0 | *dctx->entropy.workspace | 0-4294967295 |
| PARAM_VALUE | 0 | *dctx->workspace | 0-4294967295 |
| PARAM_VALUE | 2 | headerSize | 1-19 |
| BUF_SIZE | 0 | dctx | (-1),1-s32max |
| BUF_SIZE | 0 | dctx | (-1),1-s32max |
| DATA_SOURCE | 0 | dctx | $0 |
| DATA_SOURCE | 2 | headerSize | r ZSTD_frameHeaderSize_internal |
| NOSPEC | 0 | dctx->xxhState->mem64 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dctx->expectedOutBuffer.size | 1-51866[c] |
| USER_DATA | 0 | dctx->xxhState->mem64 | 0-255 |
lib/zstd/decompress/zstd_decompress.c ZSTD_decompressStream() -> ZSTD_decodeFrameHeader()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dctx | 4096-ptr_max |
| PARAM_VALUE | 0 | dctx->bType | 3 |
| PARAM_VALUE | 0 | dctx->decodedSize | 0 |
| PARAM_VALUE | 0 | dctx->dictEnd | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dctx->dictUses | (-1)-0 |
| PARAM_VALUE | 0 | dctx->expected | 1,5 |
| PARAM_VALUE | 0 | dctx->fParams._reserved1 | 0 |
| PARAM_VALUE | 0 | dctx->fParams._reserved2 | 0 |
| PARAM_VALUE | 0 | dctx->fParams.blockSizeMax | 0-131072 |
| PARAM_VALUE | 0 | dctx->fParams.checksumFlag | 0-1 |
| PARAM_VALUE | 0 | dctx->fParams.frameType | 0-1 |
| PARAM_VALUE | 0 | dctx->fParams.headerSize | 1-19,4294967224 |
| PARAM_VALUE | 0 | dctx->fseEntropy | 0-1 |
| PARAM_VALUE | 0 | dctx->isFrameDecompression | 1 |
| PARAM_VALUE | 0 | dctx->lhSize | 1-u64max |
| PARAM_VALUE | 0 | dctx->litEntropy | 0-1 |
| PARAM_VALUE | 0 | dctx->previousDstEnd | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dctx->processedCSize | 0 |
| PARAM_VALUE | 0 | dctx->stage | 0 |
| PARAM_VALUE | 0 | dctx->streamStage | 1 |
| PARAM_VALUE | 0 | *dctx->dictEnd | 0-255 |
| PARAM_VALUE | 0 | *dctx->entropy.rep | 0-4294967295 |
| PARAM_VALUE | 0 | *dctx->entropy.workspace | 0-4294967295 |
| PARAM_VALUE | 0 | *dctx->previousDstEnd | 0-255 |
| PARAM_VALUE | 0 | *dctx->workspace | 0-4294967295 |
| PARAM_VALUE | 1 | *src | 0-255 |
| PARAM_VALUE | 2 | headerSize | 1-u64max |
| BUF_SIZE | 0 | dctx | (-1),1-s32max |
| BUF_SIZE | 0 | dctx | (-1),1-s32max |
| BUF_SIZE | 1 | src | 18 |
| DATA_SOURCE | 0 | dctx | $0 |
| MEM_ZERO | 0 | &dctx->fParams | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dctx->expectedOutBuffer.size | 1-135643[c] |