FUNCTION::SET_KERNEL_POINTER(3stap)
β¨ FUNCTION::SET_KERNEL_POINTER β¨
okay bestie, welcome to the String and data writing functions corner of the SystemTap Tapset Reference π this one is literally about shoving a pointer value straight into kernel memory, so likeβ¦ guru mode only, no cap π
πΈ NAME πΈ
function::set_kernel_pointer β writes a pointer value to kernel memory. that's it, that's the whole job π«Ά
π¦ SYNOPSIS π¦
set_kernel_pointer(addr:long,val:long)
π ARGUMENTS π
addrβ the kernel address where you wanna write that pointer. like, the destination. the spot. the vibe location πvalβ the pointer that's actually getting written. the payload. the main character of this operation π
π DESCRIPTION π
So here's the tea: this function writes a pointer value to a given kernel memory address. simple, iconic, powerful β¨
It reports an error when writing to the given address fails β so if it doesn't work, bestie, you will hear about it π
β οΈ heads up: this requires the use of guru mode (-g). do not skip this. it is not optional. it is not a suggestion. it is the whole prerequisite, fr fr π
π SEE ALSO π
tapset::conversions-guru(3stap)β go read this one too, iykyk π
that's the whole page, bestie!! π go write responsibly (or don't, it's guru mode, we're all living dangerously π§) β this was the SystemTap Tapset Reference, Version info, dated September 2026, and you're officially done reading, slay ππ π₯
π¦ 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