函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\xz\xz_dec_stream.c Create Date:2022-07-27 08:06:19
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Decode the Stream Footer field (the last 12 bytes of the .xz Stream)

函数原型:static enum xz_ret dec_stream_footer(struct xz_dec *s)

返回类型:enum xz_ret

参数:

类型参数名称
struct xz_dec *s
424  如果非FIXME: Not all basic memory functions are provided in architecture-specific* files (yet). We define our own versions here for now, but this should be* only a temporary solution.* memeq and memzero are not used much and any remotely sane implementation则返回:XZ_DATA_ERROR
427  如果xz_crc32(buf + 4, 6, 0)不等于get_le32(buf)则返回:XZ_DATA_ERROR
435  如果Size of the Index in bytes 右移2位不等于get_le32(buf + 4)则返回:XZ_DATA_ERROR
438  如果buf[8]不等于0或buf[9]不等于 Type of the integrity check calculated from uncompressed data 则返回:XZ_DATA_ERROR
445  返回:XZ_STREAM_END
调用者
名称描述
dec_main