Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Decode imm v32(Iz). Return 0 if failed

Proto:static int __get_immv32(struct insn *insn)

Type:int

Parameter:

TypeParameterName
struct insn *insn
466  Case opnd_bytes == 2
467  value = get_next(short, insn)
468  nbytes = 2
469  Break
470  Case opnd_bytes == 4
471  Case opnd_bytes == 8
472  value = get_next(int, insn)
473  nbytes = 4
474  Break
475  Default
476  Go to err_out
479  Return 1
481  err_out :
482  Return 0
Caller
NameDescribe
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