Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sast模板文件有错误,已修改 #126

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hi-unc1e
Copy link

原始报错
在运行下列命令后,报错:

mvn com.alipay.xast:xastutils-maven-plugin:create-scorecard -DdirectoryPath=<xAST靶场绝对路径> -DxlsxFile=<手动填写的xlsx文件>
  • Caused by: javax.script.ScriptException: ReferenceError: "DifferentIfBranch_ArrayLength_002_F" is not defined in at line number 1

分析及解决:第22~24 行的 D 列(评价项达成条件),表达式:DifferentIfBranch_ArrayLength_002_F,应改为DifferentIfBranch_ArrayLength_002_F.java

该提交已修改此问题,请您合入 PR。

image

原始报错: 
在运行下列命令后,报错:
```
mvn com.alipay.xast:xastutils-maven-plugin:create-scorecard -DdirectoryPath=<xAST靶场绝对路径> -DxlsxFile=<手动填写的xlsx文件>
```
> - Caused by: javax.script.ScriptException: ReferenceError: "DifferentIfBranch_ArrayLength_002_F" is not defined in <eval> at line number 1

分析:第22~24 行的 D 列(评价项达成条件),表达式:`DifferentIfBranch_ArrayLength_002_F`,应该为`DifferentIfBranch_ArrayLength_002_F.java`

已修改
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant