File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
cpp/ql/src/Security/CWE/CWE-327 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ class InsecureFunctionCall extends FunctionCall {
7979 explain = "function call"
8080 or
8181 exists ( MacroInvocation mi |
82- mi .getAGeneratedElement ( ) = this .getAnArgument ( ) and
82+ mi .getAnExpandedElement ( ) = this .getAnArgument ( ) and
8383 mi .getMacro ( ) = getAnInsecureEncryptionMacro ( ) and
8484 blame = mi and
8585 explain = "macro invocation"
@@ -97,7 +97,7 @@ class InsecureFunctionCall extends FunctionCall {
9797 getTarget ( ) = getAdditionalEvidenceFunction ( )
9898 or
9999 exists ( MacroInvocation mi |
100- mi .getAGeneratedElement ( ) = this .getAnArgument ( ) and
100+ mi .getAnExpandedElement ( ) = this .getAnArgument ( ) and
101101 mi .getMacro ( ) = getAdditionalEvidenceMacro ( )
102102 )
103103 or
You can’t perform that action at this time.
0 commit comments