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 {
7979 explain = "function call"
8080 or
8181 exists ( MacroInvocation mi |
82- mi .getAGeneratedElement ( ) = this .getAChild * ( ) and
82+ mi .getAGeneratedElement ( ) = this .getAnArgument ( ) and
8383 mi .getMacro ( ) = getAnInsecureEncryptionMacro ( ) and
8484 blame = mi and
8585 explain = "macro invocation"
8686 )
8787 or
8888 exists ( EnumConstantAccess ec |
89- ec = this .getAChild * ( ) and
89+ ec = this .getAnArgument ( ) and
9090 ec .getTarget ( ) = getAnInsecureEncryptionEnumConst ( ) and
9191 blame = ec and
9292 explain = "enum constant access"
@@ -97,12 +97,12 @@ class InsecureFunctionCall extends FunctionCall {
9797 getTarget ( ) = getAdditionalEvidenceFunction ( )
9898 or
9999 exists ( MacroInvocation mi |
100- mi .getAGeneratedElement ( ) = this .getAChild * ( ) and
100+ mi .getAGeneratedElement ( ) = this .getAnArgument ( ) and
101101 mi .getMacro ( ) = getAdditionalEvidenceMacro ( )
102102 )
103103 or
104104 exists ( EnumConstantAccess ec |
105- ec = this .getAChild * ( ) and
105+ ec = this .getAnArgument ( ) and
106106 ec .getTarget ( ) = getAdditionalEvidenceEnumConst ( )
107107 )
108108 )
You can’t perform that action at this time.
0 commit comments