函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:paravirt_patch_call

函数原型:static unsigned paravirt_patch_call(void *insn_buff, const void *target, unsigned long addr, unsigned len)

返回类型:unsigned

参数:

类型参数名称
void *insn_buff
const void *target
unsigned longaddr
unsignedlen
65  call_len等于5
66  b等于insn_buff
67  delta等于targetaddrcall_len
69  如果len小于call_len
70  打印警告信息("paravirt: Failed to patch indirect CALL at %ps\n", (void * )addr)
72  BUG_ON(1)
75  opcode等于0xe8
76  delta等于delta
77  BUILD_BUG_ON - break compile if a condition is true(b的长度 != call_len)
79  返回:call_len
调用者
名称描述
paravirt_patch_default