函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\apparmor\match.c Create Date:2022-07-27 21:29:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:For DFAs that don't support extended tagging of states

函数原型:static bool is_loop(struct match_workbuf *wb, unsigned int state, unsigned int *adjust)

返回类型:bool

参数:

类型参数名称
struct match_workbuf *wb
unsigned intstate
unsigned int *adjust
627  pos等于pos
630  如果history[pos]小于state则返回:false
633 i小于等于len循环
634  如果history[pos]恒等于state
635  adjust等于i
636  返回:true
638  如果pos恒等于0则pos等于WB_HISTORY_SIZE
640  pos自减
643  adjust等于i
644  返回:true
调用者
名称描述
leftmatch_fb