CodeQLpy icon indicating copy to clipboard operation
CodeQLpy copied to clipboard

check.py ERROR database or codeql is error. qlpath error,check it at config/config.ini or close the Visual Studio Code.

Open defaul0t opened this issue 2 years ago • 8 comments

2023/04/22 16:56:53 check.py ERROR database or codeql is error. qlpath error,check it at config/config.ini or close the Visual Studio Code.

1682154080166

defaul0t avatar Apr 22 '23 09:04 defaul0t

1682154350902

defaul0t avatar Apr 22 '23 09:04 defaul0t

1682155906519

defaul0t avatar Apr 22 '23 09:04 defaul0t

qlpath是有问题的,这里的路径是sdk中的一个子目录,类似于D:\CodeQL\ql\java\ql\test\。所以你的qlpath目录应该是codeql-cli\java\ql\test这个目录

webraybtl avatar Apr 23 '23 02:04 webraybtl

我的codeql-cli\java\下没有ql和test这个两目录 1682231276144

1682231357074

defaul0t avatar Apr 23 '23 06:04 defaul0t

1682231489169

defaul0t avatar Apr 23 '23 06:04 defaul0t

你的这个目录应该是引擎,codeql还需要下载对应的sdk,https://github.com/github/codeql。

webraybtl avatar Apr 23 '23 07:04 webraybtl

codeql的安装可以参考https://www.freebuf.com/articles/web/283795.html

webraybtl avatar Apr 23 '23 07:04 webraybtl

我在home的这个文件夹下找到了,codeql-home和codeql-cli都安装了,cmd可以直接执行codeql 1682237590924 1682237641650

defaul0t avatar Apr 23 '23 08:04 defaul0t