C++: Remove implementation import from printf.qll.

This commit is contained in:
Geoffrey White
2020-11-05 11:11:44 +00:00
parent e065466180
commit 74a4f5887b
4 changed files with 3 additions and 1 deletions

View File

@@ -6,7 +6,6 @@ import semmle.code.cpp.Type
import semmle.code.cpp.commons.CommonType
import semmle.code.cpp.commons.StringAnalysis
import semmle.code.cpp.models.interfaces.FormattingFunction
import semmle.code.cpp.models.implementations.Printf
class PrintfFormatAttribute extends FormatAttribute {
PrintfFormatAttribute() { getArchetype() = ["printf", "__printf__"] }

View File

@@ -1,4 +1,5 @@
import semmle.code.cpp.models.interfaces.Taint
import semmle.code.cpp.models.interfaces.Alias
import semmle.code.cpp.models.interfaces.ArrayFunction
private class InetNtoa extends TaintFunction {

View File

@@ -3,6 +3,7 @@
import cpp
import semmle.code.cpp.security.FunctionWithWrappers
import semmle.code.cpp.models.interfaces.SideEffect
import semmle.code.cpp.models.interfaces.Alias
/**
* A function for running a command using a command interpreter.

View File

@@ -3,6 +3,7 @@
*/
import cpp
import semmle.code.cpp.models.implementations.Printf
/**
* A function call that writes to a file.