Function report |
Source Code:arch\x86\lib\insn-eval.c |
Create Date:2022-07-28 07:25:39 |
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_modrm_16() - Obtain referenced effective address via ModRM*@insn: Instruction
Proto:static int get_eff_addr_modrm_16(struct insn *insn, struct pt_regs *regs, int *regoff, short *eff_addr)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct insn * | insn | |
struct pt_regs * | regs | |
int * | regoff | |
short * | eff_addr |
1000 | If addr_bytes != 2 Then Return -EINVAL |
1008 | If X86_MODRM_MOD(value) > 2 Then Return -EINVAL |
1026 | displacement = value & 0xffff |
1027 | eff_addr = addr1 + addr2 + displacement |
1035 | regoff = addr_offset1 |
1037 | 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 |
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 |