Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 74a4f58

Browse files
committed
C++: Remove implementation import from printf.qll.
1 parent e065466 commit 74a4f58

4 files changed

Lines changed: 3 additions & 1 deletion

File tree

cpp/ql/src/semmle/code/cpp/commons/Printf.qll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import semmle.code.cpp.Type
66
import semmle.code.cpp.commons.CommonType
77
import semmle.code.cpp.commons.StringAnalysis
88
import semmle.code.cpp.models.interfaces.FormattingFunction
9-
import semmle.code.cpp.models.implementations.Printf
109

1110
class PrintfFormatAttribute extends FormatAttribute {
1211
PrintfFormatAttribute() { getArchetype() = ["printf", "__printf__"] }

cpp/ql/src/semmle/code/cpp/models/implementations/Inet.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import semmle.code.cpp.models.interfaces.Taint
2+
import semmle.code.cpp.models.interfaces.Alias
23
import semmle.code.cpp.models.interfaces.ArrayFunction
34

45
private class InetNtoa extends TaintFunction {

cpp/ql/src/semmle/code/cpp/security/CommandExecution.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import cpp
44
import semmle.code.cpp.security.FunctionWithWrappers
55
import semmle.code.cpp.models.interfaces.SideEffect
6+
import semmle.code.cpp.models.interfaces.Alias
67

78
/**
89
* A function for running a command using a command interpreter.

cpp/ql/src/semmle/code/cpp/security/FileWrite.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
*/
44

55
import cpp
6+
import semmle.code.cpp.models.implementations.Printf
67

78
/**
89
* A function call that writes to a file.

0 commit comments

Comments
 (0)