FUNCTION::MODNAME(3stap)

πŸ’– NAME πŸ’–

function::modname β€” bestie, this is the little tapset function that tells you which kernel module is chillin' at a given address ✨


🌸 SYNOPSIS 🌸

modname:string(addr:long)

That's it. One argument, one string back. She's simple like that πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • addr β€” the address you wanna map to a kernel module name πŸ—ΊοΈ Like, "who lives at this address??" and modname is gonna tell you.

✨ DESCRIPTION ✨

Okay so, the way this works: you hand her an address, she hands you back the module name associated with it, if it's known 🫢

If the module name is not known, she will raise an error. Not a vibe, but that's the deal 😭

And here's the fun little plot twist: if the address wasn't in a kernel module at all, but was in the kernel itself? Then you get the string "kernel" back. Iconic. Main character behavior fr fr πŸ‘‘


πŸ¦‹ SEE ALSO πŸ¦‹


k byeeee, this was the SystemTap Tapset Reference, and it was giving September 2026 energy πŸŽ€βœ¨πŸ’– hope your addresses all resolve on the first try, no cap 🫢

πŸ“¦ where this page comes from