Function report |
Source Code:arch\x86\lib\insn-eval.c |
Create Date:2022-07-28 07:25:36 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get_eff_addr_reg() - Obtain effective address from register operand*@insn: Instruction
Proto:static int get_eff_addr_reg(struct insn *insn, struct pt_regs *regs, int *regoff, long *eff_addr)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct insn * | insn | |
struct pt_regs * | regs | |
int * | regoff | |
long * | eff_addr |
887 | If X86_MODRM_MOD(value) != 3 Then Return -EINVAL |
890 | regoff = get_reg_offset(insn, regs, REG_TYPE_RM) |
902 | Return 0 |
Name | Describe |
---|---|
get_addr_ref_16 | get_addr_ref_16() - Obtain the 16-bit address referred by instruction*@insn: Instruction containing ModRM byte and displacement*@regs: Register values as seen when entering kernel mode* This function is to be used with 16-bit address encodings |
get_addr_ref_32 | get_addr_ref_32() - Obtain a 32-bit linear address*@insn: Instruction with ModRM, SIB bytes and displacement*@regs: Register values as seen when entering kernel mode* This function is to be used with 32-bit address encodings to obtain the* linear memory |
get_addr_ref_64 |
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 |