mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
docs: add several cpp training slides
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import cpp
|
||||
import semmle.code.cpp.commons.Printf
|
||||
|
||||
from Call c, FormattingFunction ff, Expr format
|
||||
where c.getTarget() = ff and
|
||||
format = c.getArgument(ff.getFormatParameterIndex()) and
|
||||
not format instanceof StringLiteral
|
||||
select format, "Non-constant format string."
|
||||
Reference in New Issue
Block a user