函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\lib\insn-eval.c Create Date:2022-07-27 08:24:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:get_addr_ref_64

函数原型:static void __user *get_addr_ref_64(struct insn *insn, struct pt_regs *regs)

返回类型:void

参数:

类型参数名称
struct insn *insn
struct pt_regs *regs
1301  linear_addr等于负1L
1305  如果addr_bytes不等于8则转到:out
1308  如果X86_MODRM_MOD(value)恒等于3则
1309  ret等于get_eff_addr_reg() - Obtain effective address from register operand*@insn: Instruction
1310  如果ret则转到:out
1313  否则
1314  如果nbytes
1316  如果ret则转到:out
1318  否则
1320  如果ret则转到:out
1326  ret等于get_seg_base_limit() - obtain base address and limit of a segment*@insn: Instruction
1327  如果ret则转到:out
1330  linear_addr等于eff_addrseg_base
1332  out :
1333  返回:linear_addr
调用者
名称描述
insn_get_addr_refsn_get_addr_ref() - Obtain the linear address referred by instruction*@insn: Instruction structure containing ModRM byte and displacement*@regs: Structure with register values as seen when entering kernel mode* Obtain the linear address referred by the