이 콘텐츠는 선택한 언어로 제공되지 않습니다.
9.4. Accessing string data at a probe point
The following functions provide methods to access string data at a probe point.
9.4.1. kernel_string 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
General syntax:
kernel_string:string (addr:long)
kernel_string:string (addr:long)
Copies a string from kernel space at a given address. The validation of this address is only partial.
9.4.2. user_string 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
General syntax:
user_string:string (addr:long)
user_string:string (addr:long)
This function copies a string from user space at a given address. The validation of this address is only partial. In rare cases when userspace data is not accessible, this function returns the string
<unknown>.
9.4.3. user_string2 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
General syntax:
user_string2:string (addr:long, err_msg:string)
user_string2:string (addr:long, err_msg:string)
This function is similar to
user_string
, (Section Section 9.4.2, “user_string”) but allows passing an error message as an argument to be returned if userspace data is not available.
9.4.4. user_string_warn 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
General syntax:
user_string_warn:string (addr:long)
user_string_warn:string (addr:long)
This function copies a string from userspace at given address. It prints a verbose error message on failure.
9.4.5. user_string_quoted 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
General syntax:
user_string_quoted:string (addr:long)
user_string_quoted:string (addr:long)
This function copies a string from userspace at given address. Any ASCII characters that are not printable are replaced by the corresponding escape sequence in the returned string.