Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\uprobes.c Create Date:2022-07-28 13:46:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:handle_trampoline

Proto:static void handle_trampoline(struct pt_regs *regs)

Type:void

Parameter:

TypeParameterName
struct pt_regs *regs
2135  utask = utask
2136  If Not utask Then Go to sigill
2139  ri = return_instances
2140  If Not ri Then Go to sigill
2143  Do
2150  next = find_next_ret_chain(ri)
2151  valid = Not next || arch_uretprobe_is_alive(next, RP_CHECK_RET, regs)
2153  instruction_pointer_set(regs, original return address )
2154  Do
2155  If valid Then handle_uretprobe_chain(ri, regs)
2157  ri = free_ret_instance(ri)
2158  depth--
2159  When ri != next cycle
2160  When Not valid cycle
2162  return_instances = ri
2163  Return
2165  sigill :
2166  uprobe_warn(current process, "handle uretprobe, sending SIGILL.")
2167  force_sig(SIGILL)
Caller
NameDescribe
handle_swbpRun handler and ask thread to singlestep.* Ensure all non-fatal signals cannot interrupt thread while it singlesteps.