mirror of
https://github.com/github/codeql.git
synced 2026-05-05 05:35:13 +02:00
Refactor DatabaseInput to MaD
This commit is contained in:
committed by
Ed Minnix
parent
655470f3da
commit
3a75c0fde7
@@ -286,7 +286,7 @@ deprecated class DatabaseInput = DbInput;
|
||||
* A node with input from a database.
|
||||
*/
|
||||
private class DbInput extends LocalUserInput {
|
||||
DbInput() { this.asExpr().(MethodAccess).getMethod() instanceof ResultSetGetStringMethod }
|
||||
DbInput() { sourceNode(this, "database") }
|
||||
|
||||
override string getThreatModel() { result = "database" }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user