函数逻辑报告 |
Source Code:arch\x86\lib\insn.c |
Create Date:2022-07-27 08:24:07 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:sn_get_modrm - collect ModRM byte, if any*@insn: &struct insn containing instruction* Populates @insn->modrm and updates @insn->next_byte to point past the* ModRM byte, if any. If necessary, first collects the preceding bytes* (prefixes and opcode(s))
函数原型:void insn_get_modrm(struct insn *insn)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct insn * | insn |
296 | 如果inat_has_modrm(attr)则 |
297 | mod等于get_next(insn_byte_t, insn) |
299 | nbytes等于1 |
300 | 如果inat_is_group(attr)则 |
302 | attr等于inat_get_group_attribute(mod, pfx_id, attr) |
304 | 如果insn_is_avx(insn)且非inat_accept_vex(attr)则attr等于0 |
309 | 如果x86_64且inat_is_force64(attr)则opnd_bytes等于8 |
313 | err_out : |
314 | 返回 |
名称 | 描述 |
---|---|
insn_rip_relative | sn_rip_relative() - Does instruction use RIP-relative addressing mode?*@insn: &struct insn containing instruction* If necessary, first collects the instruction up to and including the* ModRM byte. No effect if @insn->x86_64 is 0. |
insn_get_sib | sn_get_sib() - Get the SIB byte of instruction*@insn: &struct insn containing instruction* If necessary, first collects the instruction up to and including the* ModRM byte. |
get_eff_addr_reg | get_eff_addr_reg() - Obtain effective address from register operand*@insn: Instruction |
get_eff_addr_modrm | get_eff_addr_modrm() - Obtain referenced effective address via ModRM*@insn: Instruction |
get_eff_addr_modrm_16 | get_eff_addr_modrm_16() - Obtain referenced effective address via ModRM*@insn: Instruction |
get_eff_addr_sib | get_eff_addr_sib() - Obtain referenced effective address via SIB*@insn: Instruction |
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 |
identify_insn | dentify_insn() - Identify a UMIP-protected instruction*@insn: Instruction structure with opcode and ModRM byte |
insn_get_attribute | Attribute will be determined after getting ModRM (for opcode groups) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |