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

NAME

6       function::user_buffer_quoted_error - Retrieves and quotes buffer from
7       user space
8

SYNOPSIS

10           user_buffer_quoted_error:string(addr:long,inlen:long,outlen:long)
11

ARGUMENTS

13       addr
14           the user space address to retrieve the buffer from
15
16       inlen
17           the exact length of the buffer to read
18
19       outlen
20           the maximum length of the output string
21

DESCRIPTION

23       Reads inlen characters of a buffer from the given user space memory
24       address, and returns up to outlen characters, where any ASCII
25       characters that are not printable are replaced by the corresponding
26       escape sequence in the returned string. Note that the string will be
27       surrounded by double quotes. On the rare cases when user space data is
28       not accessible at the given address, an error is thrown.
29

SEE ALSO

31       tapset::uconversions(3stap)
32
33
34
35SystemTap Tapset Reference         May 2022        FUNCTION::USER_BUFFE(3stap)
Impressum