Scroll to navigation

FUNCTION::USER_ULONG(3stap) String and data retrieving fun FUNCTION::USER_ULONG(3stap)

NAME

function::user_ulong_warn - Retrieves an unsigned long value stored in user space

SYNOPSIS


user_ulong_warn:long(addr:long)

ARGUMENTS

addr

the user space address to retrieve the unsigned long from

DESCRIPTION

Returns the unsigned long value from a given user space address. Returns zero when user space data is not accessible and warns about the failure (but does not error). Note that the size of the unsigned long depends on the architecture of the current user space task (for those architectures that support both 64/32 bit compat tasks).

SEE ALSO0

tapset::uconversions(3stap)

April 2023 SystemTap Tapset Reference