uprobe_get_swbp_addr(9)
β¨ uprobe_get_swbp_addr(9) β Kernel API Manual β¨
okay so bestie, welcome to the Kernel API Manual π this one is short but iconic, no cap.
π NAME π
uprobe_get_swbp_addr β compute address of swbp given post-swbp regs π
β¨ SYNOPSIS β¨
unsigned long uprobe_get_swbp_addr (struct pt_regs *regs );
π«Ά ARGUMENTS π«Ά
regsβ reflects the saved state of the task after it has hit a breakpoint instruction. Return the address of the breakpoint instruction. literally that's the whole vibe π¦
π SEE ALSO π
Kernel file ./kernel/events/uprobes.c is giving connected-girlies energy, and these icons are all linked:
is_swbp_insn(9)is_trap_insn(9)set_swbp(9)set_orig_insn(9)uprobe_unregister_nosync(9)uprobe_register(9)uprobe_apply(9)
so yeah, that's the whole page, bestie π this cutie lives in ./kernel/events and is dated October 2026 β periodt. πΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms