function::user_string_n_nofault(3stap)

function::user_string_n_nofault3stap

Retrieves string of given length from user space

Usage

    user_string_n_nofault(addr:long,n:long)

Arguments

addr

the user space address to retrieve the string from

n

the maximum length of the string (if not null terminated)

Overview

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

See ALSO0

tapset::uconversions(3stap)

Releases

3 releases since Debian 11 (Bullseye); the text changed 2 times.

  1. 11
  2. 12
  3. 13

From systemtap-doc 5.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.