mirror of
https://github.com/hohn/codeql-workshop-sql-injection-java.git
synced 2025-12-16 18:53:05 +01:00
Add parts to build the codeql database in steps and provide log for comparison
This commit is contained in:
committed by
=Michael Hohn
parent
161a1d54f8
commit
5aadf85fb6
13
session/simple.ql
Normal file
13
session/simple.ql
Normal 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"
|
||||
Reference in New Issue
Block a user