函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Attribute search APIs

函数原型:insn_attr_t inat_get_opcode_attribute(insn_byte_t opcode)

返回类型:insn_attr_t

参数:

类型参数名称
insn_byte_topcode
15  返回:inat_primary_table[opcode]
调用者
名称描述
insn_get_prefixessn_get_prefixes - scan x86 instruction prefix bytes*@insn: &struct insn containing instruction* Populates the @insn->prefixes bitmap, and updates @insn->next_byte* to point to the (first) opcode. No effect if @insn->prefixes.got* is already set.
insn_get_opcodesn_get_opcode - collect opcode(s)*@insn: &struct insn containing instruction* Populates @insn->opcode, updates @insn->next_byte to point past the* opcode byte(s), and set @insn->attr (except for groups).
inat_get_last_prefix_id
get_seg_reg_override_idxget_seg_reg_override_idx() - obtain segment register override index*@insn: Valid instruction with segment override prefixes* Inspect the instruction prefixes in @insn and find segment overrides, if any
skip_prefixesSkip the prefixes of the instruction.
is_prefix_badTODO:* - Where necessary, examine the modrm byte and allow only valid instructions* in the different Groups and fpu instructions.