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

NAME

6       function::user_string_n_nofault - Retrieves string of given length from
7       user space
8

SYNOPSIS

10           user_string_n_nofault(addr:long,n:long)
11

ARGUMENTS

13       addr
14           the user space address to retrieve the string from
15
16       n
17           the maximum length of the string (if not null terminated)
18

DESCRIPTION

20       Returns the C string of a maximum given length from a given user space
21       address. Returns the empty string when userspace data is not accessible
22       at the given address.
23

SEE ALSO

25       tapset::uconversions(3stap)
26
27
28
29SystemTap Tapset Reference         May 2021        FUNCTION::USER_STRIN(3stap)
Impressum