Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\test-string_helpers.c Create Date:2022-07-28 06:26:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:test_string_escape_overflow

Proto:static __init void test_string_escape_overflow(const char *in, int p, unsigned int flags, const char *esc, int q_test, const char *name)

Type:void

Parameter:

TypeParameterName
const char *in
intp
unsigned intflags
const char *esc
intq_test
const char *name
269  q_real = string_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
270  If q_real != q_test Then pr_warn("Test '%s' failed: flags = %u, osz = 0, expected %d, got %d\n", name, flags, q_test, q_real)
Caller
NameDescribe
test_string_escape