函数逻辑报告 |
Source Code:arch\x86\lib\insn-eval.c |
Create Date:2022-07-27 08:24:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:static void __user *get_addr_ref_32(struct insn *insn, struct pt_regs *regs)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct insn * | insn | |
struct pt_regs * | regs |
1207 | linear_addr等于负1L |
1212 | 如果addr_bytes不等于4则转到:out |
1215 | 如果X86_MODRM_MOD(value)恒等于3则 |
1222 | 否则 |
1253 | 如果非user_64bit_mode(regs)且eff_addr大于seg_limit则转到:out |
1260 | 如果v8086_mode(regs)且eff_addr按位与0xffff的反则转到:out |
1268 | linear_addr等于eff_addr按位与0xffffffff的值加seg_base |
1271 | 如果v8086_mode(regs)则linear_addr与等于0xfffff |
1274 | out : |
1275 | 返回: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 插件可实现:逻辑报告 代码生成和批量转换代码 |