FUNCTION::STRING_QUOTED(3stap)
π FUNCTION::STRING_QUOTED π
ok so bestie, we're in the 3stap manual β yes, the SystemTap Tapset Reference one β and today's main character is function::string_quoted. she's a little function, she's got one job, and she absolutely ate. β¨
β¨ NAME β¨
function::string_quoted β Quotes a given string π
πΈ SYNOPSIS πΈ
string_quoted:string(str:string)
like... that's it. that's the whole vibe. one arg in, one string out. π
π¦ ARGUMENTS π¦
strβ the kernel address you wanna pull the string from. yes, the address. you're reaching into the kernel and grabbing a string, no cap. π«Ά
π DESCRIPTION π
okay so here's the tea, fr fr: string_quoted hands you back the quoted string version of whatever string you gave it. π
but wait, there's more β any ASCII characters in there that are not printable? they don't just get yeeted. nope. they get replaced by the corresponding escape sequence in the string that comes back to you. iconic behavior honestly. π
and the cherry on top: the returned string is gonna be surrounded by double quotes. yes, literally wrapped up all cute like a little present. π
so like. it's giving "printable, safe, quoted, ready to go." no notes. π§
ngl the input is a kernel address, so you already know to be careful with what you're pointing at. that part's on you, bestie. π
π SEE ALSO π
that's the whole page, babes. no filler, no fluff, just one tiny function doing her little job and doing it well. obsessed. π
this lil moment was brought to you by the SystemTap Tapset Reference, Version (the truncated Ver energy, iykyk), dated September 2026. πβ¨ slay, see you in the next tapset. π
πΈ
π¦ where this page comes from
- centos-stream 10: systemtap-client 5.6-3.el10 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- centos-stream 9: systemtap-client 5.6-3.el9 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 43: systemtap-client 5.6-1.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 44: systemtap-client 5.6-1.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms