mirror of
https://github.com/hohn/codeql-lab.git
synced 2025-12-16 09:53:04 +01:00
Rename directories to include language. Also update files
This commit is contained in:
committed by
=Michael Hohn
parent
fe1baf7dc1
commit
102c18cce5
18
codeql-sqlite-java/Illustrations.ql
Normal file
18
codeql-sqlite-java/Illustrations.ql
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* @name Illustrations
|
||||
* @description Illustrations of some codeql classes.
|
||||
* @kind table
|
||||
*/
|
||||
|
||||
import java
|
||||
import semmle.code.java.dataflow.FlowSources
|
||||
import semmle.code.java.security.SqlInjectionQuery
|
||||
import QueryInjectionFlow::PathGraph
|
||||
|
||||
// Find starting points -- UserInput etc. -- from
|
||||
// ../ql/java/ql/src/Security/CWE/CWE-089/SqlTainted.ql
|
||||
|
||||
// using QueryInjectionSink shows a sink. So we're missing a source.
|
||||
|
||||
from UserInput ui, QueryInjectionSink qsi
|
||||
select ui, qsi
|
||||
Reference in New Issue
Block a user