Function report |
Source Code:arch\x86\lib\insn-eval.c |
Create Date:2022-07-28 07:25:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:solve_seg_reg() - obtain segment register index*@insn: Instruction with operands*@regs: Register values as seen when entering kernel mode*@regoff: Operand offset, in pt_regs, used to deterimine segment register* Determine the segment register associated
Proto:static int resolve_seg_reg(struct insn *insn, struct pt_regs *regs, int regoff)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct insn * | insn | |
struct pt_regs * | regs | |
int | regoff |
269 | If user_64bit_mode(regs) Then Return Identifiers for segment registers |
271 | Else Return INAT_SEG_REG_CS |
285 | If idx == INAT_SEG_REG_DEFAULT Then Return solve_default_seg() - resolve default segment register index for an operand*@insn: Instruction with opcode and address size |
292 | If user_64bit_mode(regs) Then |
293 | If idx != INAT_SEG_REG_FS && idx != INAT_SEG_REG_GS Then idx = Identifiers for segment registers |
298 | Return idx |
Name | Describe |
---|---|
get_seg_base_limit | get_seg_base_limit() - obtain base address and limit of a segment*@insn: Instruction |
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 |