1FUNCTION::KERNEL_STR(3staSpt)ring and data retrieving fFuUnNCTION::KERNEL_STR(3stap)
2
3
4

NAME

6       function::kernel_string_utf16 - Retrieves UTF-16 string from kernel
7       memory
8

SYNOPSIS

10       1) kernel_string_utf16:string(addr:long)
11
12       2) kernel_string_utf16:string(addr:long,err_msg:string)
13

ARGUMENTS

15       addr
16           The kernel address to retrieve the string from
17
18       err_msg
19           The error message to return when data isn't available
20

DESCRIPTION

22       1) This function returns a null terminated UTF-8 string converted from
23       the UTF-16 string at a given kernel memory address. Reports an error on
24       string copy fault or conversion error.
25
26       2) This function returns a null terminated UTF-8 string converted from
27       the UTF-16 string at a given kernel memory address. Reports the given
28       error message on string copy fault or conversion error.
29

SEE ALSO

31       tapset::conversions(3stap)
32
33
34
35SystemTap Tapset Reference        April 2023       FUNCTION::KERNEL_STR(3stap)
Impressum