| Function report | 
| Source Code: arch\x86\lib\insn.c | Create Date:2022-07-28 07:24:59 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:sn_init() - initialize struct insn*@insn: &struct insn to be initialized*@kaddr: address (in kernel memory) of instruction (or copy thereof)*@x86_64: !0 for 64-bit kernel or 64-bit app
Proto:void insn_init(struct insn *insn, const void *kaddr, int buf_len, int x86_64)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct insn * | insn | |
| const void * | kaddr | |
| int | buf_len | |
| int | x86_64 | 
| 48 | If buf_len > MAX_INSN_SIZE Then buf_len = MAX_INSN_SIZE | 
| 56 | opnd_bytes = 4 | 
| 57 | If x86_64 Then addr_bytes = 8 | 
| 59 | Else addr_bytes = 4 | 
| 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 |