函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Decode imm v64(Iv/Ov), Return 0 if failed

函数原型:static int __get_immv(struct insn *insn)

返回类型:int

参数:

类型参数名称
struct insn *insn
489  :opnd_bytes恒等于2
490  value等于get_next(short, insn)
491  nbytes等于2
492  退出
493  :opnd_bytes恒等于4
494  value等于get_next(int, insn)
495  nbytes等于4
496  退出
497  :opnd_bytes恒等于8
498  value等于get_next(int, insn)
499  nbytes等于4
500  value等于get_next(int, insn)
501  nbytes等于4
502  退出
503  默认
504  转到:err_out
506  !0 if we've run insn_get_xxx() for this field 等于 !0 if we've run insn_get_xxx() for this field 等于1
508  返回:1
509  err_out :
510  返回:0
调用者
名称描述
insn_get_immediatesn_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