函数逻辑报告 |
Source Code:arch\x86\lib\insn-eval.c |
Create Date:2022-07-27 08:24:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:static void __user *get_addr_ref_16(struct insn *insn, struct pt_regs *regs)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct insn * | insn | |
struct pt_regs * | regs |
1143 | linear_addr等于负1L |
1151 | 如果addr_bytes不等于2则转到:out |
1154 | 如果X86_MODRM_MOD(value)恒等于3则 |
1160 | 否则 |
1179 | linear_addr等于eff_addr按位与0xffff的值加seg_base |
1182 | 如果v8086_mode(regs)则linear_addr与等于0xfffff |
1185 | out : |
1186 | 返回:linear_addr |
名称 | 描述 |
---|---|
insn_get_addr_ref | sn_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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |