mirror of
https://github.com/github/codeql.git
synced 2026-05-04 05:05:12 +02:00
Java: Deprecate StringLiteral.getRepresentedString()
This commit is contained in:
@@ -2,5 +2,5 @@ import default
|
||||
import semmle.code.java.security.Encryption
|
||||
|
||||
from StringLiteral s
|
||||
where s.getRepresentedString().regexpMatch(getInsecureAlgorithmRegex())
|
||||
where s.getValue().regexpMatch(getInsecureAlgorithmRegex())
|
||||
select s
|
||||
|
||||
@@ -2,5 +2,5 @@ import default
|
||||
import semmle.code.java.security.Encryption
|
||||
|
||||
from StringLiteral s
|
||||
where s.getRepresentedString().regexpMatch(getSecureAlgorithmRegex())
|
||||
where s.getValue().regexpMatch(getSecureAlgorithmRegex())
|
||||
select s
|
||||
|
||||
Reference in New Issue
Block a user