Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\alternative.c Create Date:2022-07-28 07:45:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:poke_int3_handler

Proto:int poke_int3_handler(struct pt_regs *regs)

Type:int

Parameter:

TypeParameterName
struct pt_regs *regs
972  smp_rmb()
974  If Value is more likely to compile time(!nr_entries) Then Return 0
977  If ser_mode(regs) determines whether a register set came from user* mode Then Return 0
983  ip = ip - INT3_INSN_SIZE
988  If Value for the false possibility is greater at compile time(nr_entries > 1) Then
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  If Not tp Then Return 0
994  Else
995  tp = vec
996  If addr != ip Then Return 0
1000  ip += len
1003  Case opcode == INT3_INSN_OPCODE
1008  Return 0
1010  Case opcode == CALL_INSN_OPCODE
1011  int3_emulate_call(regs, (long)ip + rel32)
1012  Break
1014  Case opcode == JMP32_INSN_OPCODE
1015  Case opcode == JMP8_INSN_OPCODE
1016  int3_emulate_jmp(regs, (long)ip + rel32)
1017  Break
1019  Default
1020  BUG()
1023  Return 1
Caller
NameDescribe
do_int3