Function report |
Source Code:arch\x86\lib\insn-eval.c |
Create Date:2022-07-28 07:25:35 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:sn_get_code_seg_params() - Obtain code segment parameters*@regs: Structure with register values as seen when entering kernel mode* Obtain address and operand sizes of the code segment. It is obtained from the* selector contained in the CS register in regs
Proto:int insn_get_code_seg_params(struct pt_regs *regs)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct pt_regs * | regs |
749 | If v8086_mode(regs) Then Return INSN_CODE_SEG_PARAMS(2, 2) |
772 | Case | == 0 |
773 | Return INSN_CODE_SEG_PARAMS(2, 2) |
777 | Case | == 1 |
778 | Return INSN_CODE_SEG_PARAMS(4, 4) |
782 | Case | == 2 |
783 | Return INSN_CODE_SEG_PARAMS(4, 8) |
784 | Case | == 3 |
786 | Default |
787 | Return -EINVAL |
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 |