mirror of
https://github.com/github/codeql.git
synced 2025-12-22 19:56:32 +01:00
Formatting
This commit is contained in:
@@ -17,9 +17,7 @@ private import semmle.code.cpp.models.interfaces.FunctionInputsAndOutputs
|
|||||||
* and would be considered a barrier to SQL injection.
|
* and would be considered a barrier to SQL injection.
|
||||||
*/
|
*/
|
||||||
private class ODBCExecutionFunction extends SqlExecutionFunction {
|
private class ODBCExecutionFunction extends SqlExecutionFunction {
|
||||||
ODBCExecutionFunction() {
|
ODBCExecutionFunction() { this.hasGlobalName(["SQLExecDirect", "SQLPrepare"]) }
|
||||||
this.hasGlobalName(["SQLExecDirect", "SQLPrepare"])
|
|
||||||
}
|
|
||||||
|
|
||||||
override predicate hasSqlArgument(FunctionInput input) { input.isParameterDeref(1) }
|
override predicate hasSqlArgument(FunctionInput input) { input.isParameterDeref(1) }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user