Function report |
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 activity | Download SCCT | Chinese |
Name:poke_int3_handler
Proto:int poke_int3_handler(struct pt_regs *regs)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
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 |
992 | If Not tp Then Return 0 |
994 | Else |
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 |
Name | Describe |
---|---|
do_int3 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |