函数逻辑报告 |
Source Code:arch\x86\lib\insn.c |
Create Date:2022-07-27 08:24:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:sn_get_displacement() - Get the displacement of instruction*@insn: &struct insn containing instruction* If necessary, first collects the instruction up to and including the* SIB byte.* Displacement value is sign-expanded.
函数原型:void insn_get_displacement(struct insn *insn)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct insn * | insn |
386 | 如果nbytes则 |
404 | mod等于X86_MODRM_MOD(value) |
405 | rm等于X86_MODRM_RM(value) |
406 | base等于X86_SIB_BASE(value) |
409 | 如果mod恒等于1则 |
412 | 否则如果addr_bytes恒等于2则 |
418 | 否则 |
426 | out : |
429 | err_out : |
430 | 返回 |
名称 | 描述 |
---|---|
insn_get_immediate | sn_get_immediate() - Get the immediates of instruction*@insn: &struct insn containing instruction* If necessary, first collects the instruction up to and including the* displacement bytes.* Basically, most of immediates are sign-expanded |
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |