函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Returns -ENOSYS if branch_xol_ops doesn't handle this insn

函数原型:static int branch_setup_xol_ops(struct arch_uprobe *auprobe, struct insn *insn)

返回类型:int

参数:

类型参数名称
struct arch_uprobe *auprobe
struct insn *insn
717  opc1等于Adaptations for mhiramat x86 decoder v14. (insn)
721  :opc1恒等于0xeb
722  :opc1恒等于0xe9
723  :opc1恒等于0x90
724  退出
726  :opc1恒等于0xe8
727  branch_clear_offset(auprobe, insn)
728  退出
730  :opc1恒等于0x0f
731  如果nbytes不等于2则返回:负ENOSYS
737  opc1等于OPCODE2(insn)减0x10
739  默认
740  如果非is_cond_jmp_opcode(opc1)则返回:负ENOSYS
749 i小于nbytes循环
750  如果bytes[i]恒等于0x66则返回:负Operation is not supported
754  opc1等于opc1
755  ilen等于length
756  offs等于value
758  ops等于branch_xol_ops
759  返回:0
调用者
名称描述
arch_uprobe_analyze_insnarch_uprobe_analyze_insn - instruction analysis including validity and fixups.*@auprobe: the probepoint information.*@mm: the probed address space.*@addr: virtual address at which to install the probepoint* Return 0 on success or a -ve number on error.