Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\lib\inat.c Create Date:2022-07-28 07:25:12
Last Modify:2020-03-16 17:00:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Attribute search APIs

Proto:insn_attr_t inat_get_opcode_attribute(insn_byte_t opcode)

Type:insn_attr_t

Parameter:

TypeParameterName
insn_byte_topcode
15  Return inat_primary_table[opcode]
Caller
NameDescribe
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.