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

NAME

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

SYNOPSIS

10           user_buffer_quoted: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, the address itself is returned as
29       a string, without double quotes.
30

SEE ALSO

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