函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:int3_exception_notify

函数原型:static int __init int3_exception_notify(struct notifier_block *self, unsigned long val, void *data)

返回类型:int

参数:

类型参数名称
struct notifier_block *self
unsigned longval
void *data
652  args等于data
653  regs等于regs
655  如果非regsser_mode(regs) determines whether a register set came from user* mode则返回:Don't care
658  如果val不等于DIE_INT3则返回:Don't care
661  如果ipINT3_INSN_SIZE不等于defined in asm below 则返回:Don't care
664  int3_emulate_call(regs, (unsignedlong) & We define the int3_magic() function in assembly to control the calling* convention such that we can 'call' it from assembly.)
665  返回:Clean way to return from the notifier and stop further calls.