github / github/codeql

How to build a database that adds additional code based on lgtm's database

オープン
#7,382 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
question
主要言語
CodeQL
スター
10.1k
フォーク
2.1k
平均マージ
2日 15時間
マージ済み PR(30日)
141

説明

Hello! Sorry to take up your time, I have a problem to discuss the appropriate solution.

I downloaded a project [database](https://lgtm.com/projects/g/apache/logging-log4j2/ci/#ql) from lgtm for security research.I want to use this project as a dependency to write some additional test code, and then create a new database with the additional test code and the project source code.

I have only one solution at present:Merge test code and project code,Then execute the command
`codeql database create log4j2-custom -l java --overwrite`

This can be created successfully after multiple compilation failures with maven. But this is a complete recreation of a database, without using the compiled database on lgtm. Is there any easier way to add new code to an existing database without recompiling the whole project?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。