Function report |
Source Code:arch\x86\kernel\umip.c |
Create Date:2022-07-28 08:50:32 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:dentify_insn() - Identify a UMIP-protected instruction*@insn: Instruction structure with opcode and ModRM byte
Proto:static int identify_insn(struct insn *insn)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct insn * | insn |
| 162 | If bytes[1] == 0x1 Then |
| 164 | Case X86_MODRM_REG(value) == 0 |
| 165 | Return 0F 01 /0 |
| 166 | Case X86_MODRM_REG(value) == 1 |
| 167 | Return 0F 01 /1 |
| 168 | Case X86_MODRM_REG(value) == 4 |
| 169 | Return 0F 01 /4 |
| 170 | Default |
| 171 | Return -EINVAL |
| 173 | Else if bytes[1] == 0x0 Then |
| 174 | If X86_MODRM_REG(value) == 0 Then Return 0F 00 /0 |
| 176 | Else if X86_MODRM_REG(value) == 1 Then Return 0F 00 /1 |
| 178 | Else Return -EINVAL |
| 180 | Else |
| 181 | Return -EINVAL |
| Name | Describe |
|---|---|
| fixup_umip_exception | xup_umip_exception() - Fixup a general protection fault caused by UMIP*@regs: Registers as saved when entering the #GP handler* The instructions SGDT, SIDT, STR, SMSW and SLDT cause a general protection* fault if executed with CPL > 0 (i |
| 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 |