函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\uprobes.c Create Date:2022-07-27 15:08:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:handle_trampoline

函数原型:static void handle_trampoline(struct pt_regs *regs)

返回类型:void

参数:

类型参数名称
struct pt_regs *regs
2135  utask等于utask
2136  如果非utask则转到:sigill
2139  ri等于return_instances
2140  如果非ri则转到:sigill
2143  循环
2150  next等于find_next_ret_chain(ri)
2151  valid等于非nextarch_uretprobe_is_alive(next, RP_CHECK_RET, regs)
2153  instruction_pointer_set(regs, original return address )
2154  循环
2155  如果validhandle_uretprobe_chain(ri, regs)
2157  ri等于free_ret_instance(ri)
2158  depth自减
2159 ri不等于next循环
2160  当非valid循环
2162  return_instances等于ri
2163  返回
2165  sigill :
2166  uprobe_warn(当前进程, "handle uretprobe, sending SIGILL.")
2167  force_sig(SIGILL)
调用者
名称描述
handle_swbpRun handler and ask thread to singlestep.* Ensure all non-fatal signals cannot interrupt thread while it singlesteps.