FUNCTION::ADDR(3stap)
β¨ function::addr π
okay bestie, welcome to the SystemTap Tapset Reference, section 3stap β this is the Context Functions corner of the manual, and today's main character is a lil function called addr. she's tiny, she's iconic, and she knows exactly where you are. iykyk π
NAME π
function::addr β Address of the current probe point. that's it, that's the whole vibe.
SYNOPSIS β¨
addr:long()
ARGUMENTS πΈ
None. nope, zero, nada, she takes no arguments, she's self-sufficient, she doesn't need you to hand her anything π«Ά
DESCRIPTION π
okay so here's the tea: addr returns the instruction pointer from the current probe's register state. like, it's telling you where in the code you literally are right now. main character energy fr.
BUT β and this is important, bestie β not all probe types have registers. if yours doesn't, then zero is returned. zero. nothing. the void. π so don't be surprised if you get a big fat 0 back.
the returned address is suitable for use with functions like symname and symdata. so like, if you wanna turn that raw address into something readable, those two are your girls π
SEE ALSO π₯
heads up bestie: this is 3stap, the SystemTap tapset reference β so these functions live in tapset land, not regular libc land. different universe, same energy π
and that's the whole page, no cap π§ SystemTap Tapset Reference, Ver, September 2026 β mwah, slay, go probe something iconic πβ¨ππ¦
π¦ 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