函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:void insn_get_sib(struct insn *insn)

返回类型:void

参数:

类型参数名称
struct insn *insn
351  如果 !0 if we've run insn_get_xxx() for this field 则返回
353  如果非 !0 if we've run insn_get_xxx() for this field 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))
355  如果nbytes
356  modrm等于value
357  如果addr_bytes不等于2且X86_MODRM_MOD(modrm)不等于3且X86_MODRM_RM(modrm)恒等于4则
360  nbytes等于1
363  !0 if we've run insn_get_xxx() for this field 等于1
365  err_out :
366  返回
调用者
名称描述
insn_get_displacementsn_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.
get_eff_addr_sibget_eff_addr_sib() - Obtain referenced effective address via SIB*@insn: Instruction