Add parts to build the codeql database in steps and provide log for comparison

This commit is contained in:
Michael Hohn
2025-01-10 13:49:49 -08:00
committed by =Michael Hohn
parent 161a1d54f8
commit 5aadf85fb6
5 changed files with 2051 additions and 16 deletions

13
session/simple.ql Normal file
View File

@@ -0,0 +1,13 @@
/**
* @name simple test
* @description simple test
* @kind problem
* @id cpp/simple
* @problem.severity warning
*/
import java
from Call read
where read.getCallee().getName() = "readLine"
select read, "Found readline"