函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:escape_hex

函数原型:static bool escape_hex(unsigned char c, char **dst, char *end)

返回类型:bool

参数:

类型参数名称
unsigned charc
char **dst
char *end
420  out等于dst
422  如果out小于endout等于'\\'
424  out先自加
425  如果out小于endout等于'x'
427  out先自加
428  如果out小于endout等于hex_asc_hi(c)
430  out先自加
431  如果out小于endout等于hex_asc_lo(c)
433  out先自加
435  dst等于out
436  返回:true
调用者
名称描述
string_escape_memstring_escape_mem - quote characters in the given memory buffer*@src: source buffer (unescaped)*@isz: source buffer size*@dst: destination buffer (escaped)*@osz: destination buffer size*@flags: combination of the flags*@only: NULL-terminated string
string_escape_mem_ascii