Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

java代码注释识别上存在缺陷 #1396

Open
y360u opened this issue Oct 25, 2020 · 0 comments
Open

java代码注释识别上存在缺陷 #1396

y360u opened this issue Oct 25, 2020 · 0 comments

Comments

@y360u
Copy link

y360u commented Oct 25, 2020

engine文件中match_result = re.findall(r"^(#|/*|//)+", vulnerability.code_content) # 判断漏洞代码是否在注释中
这段代码
不能识别块注释,只能识别部分情况下的行注释

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant