github / github/codeql

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

Aperta
#7,382 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
question
Lingua principale
CodeQL
Stelle
10.1k
Fork
2.1k
Merge medio
2g 15h
PR unite (30g)
141

Descrizione

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?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.