函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:poke_int3_handler

函数原型:int poke_int3_handler(struct pt_regs *regs)

返回类型:int

参数:

类型参数名称
struct pt_regs *regs
972  smp_rmb()
974  如果此条件成立可能性大(为编译器优化)(!nr_entries)则返回:0
977  如果ser_mode(regs) determines whether a register set came from user* mode则返回:0
983  ip等于ipINT3_INSN_SIZE
988  如果此条件成立可能性小(为编译器优化)(nr_entries > 1)则
989  tp等于search - binary search an array of elements*@key: pointer to item being searched for*@base: pointer to first element to search*@num: number of elements*@size: size of each element*@cmp: pointer to comparison function
992  如果非tp则返回:0
994  否则
995  tp等于vec
996  如果addr不等于ip则返回:0
1000  ip加等于len
1003  :opcode恒等于INT3_INSN_OPCODE
1008  返回:0
1010  :opcode恒等于CALL_INSN_OPCODE
1011  int3_emulate_call(regs, (long)ip + rel32)
1012  退出
1014  :opcode恒等于JMP32_INSN_OPCODE
1015  :opcode恒等于JMP8_INSN_OPCODE
1016  int3_emulate_jmp(regs, (long)ip + rel32)
1017  退出
1019  默认
1020  BUG()
1023  返回:1
调用者
名称描述
do_int3