File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
cpp/ql/src/Security/CWE/CWE-327 Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -79,14 +79,14 @@ class InsecureFunctionCall extends FunctionCall {
79
79
explain = "function call"
80
80
or
81
81
exists ( MacroInvocation mi |
82
- mi .getAGeneratedElement ( ) = this .getAChild * ( ) and
82
+ mi .getAGeneratedElement ( ) = this .getAnArgument ( ) and
83
83
mi .getMacro ( ) = getAnInsecureEncryptionMacro ( ) and
84
84
blame = mi and
85
85
explain = "macro invocation"
86
86
)
87
87
or
88
88
exists ( EnumConstantAccess ec |
89
- ec = this .getAChild * ( ) and
89
+ ec = this .getAnArgument ( ) and
90
90
ec .getTarget ( ) = getAnInsecureEncryptionEnumConst ( ) and
91
91
blame = ec and
92
92
explain = "enum constant access"
@@ -97,12 +97,12 @@ class InsecureFunctionCall extends FunctionCall {
97
97
getTarget ( ) = getAdditionalEvidenceFunction ( )
98
98
or
99
99
exists ( MacroInvocation mi |
100
- mi .getAGeneratedElement ( ) = this .getAChild * ( ) and
100
+ mi .getAGeneratedElement ( ) = this .getAnArgument ( ) and
101
101
mi .getMacro ( ) = getAdditionalEvidenceMacro ( )
102
102
)
103
103
or
104
104
exists ( EnumConstantAccess ec |
105
- ec = this .getAChild * ( ) and
105
+ ec = this .getAnArgument ( ) and
106
106
ec .getTarget ( ) = getAdditionalEvidenceEnumConst ( )
107
107
)
108
108
)
You can’t perform that action at this time.
0 commit comments