mirror of
https://github.com/github/codeql.git
synced 2025-12-24 12:46:34 +01:00
Add more sources
This commit is contained in:
@@ -160,7 +160,9 @@ class ApacheCommonsRandomStringSource extends RandomDataSource {
|
||||
ApacheCommonsRandomStringSource() {
|
||||
exists(Method m | m = this.getMethod() |
|
||||
m.getName().matches("random%") and
|
||||
m.getDeclaringType().hasQualifiedName("org.apache.commons.lang3", "RandomStringUtils")
|
||||
m.getDeclaringType()
|
||||
.hasQualifiedName(["org.apache.commons.lang3", "org.apache.commons.lang"],
|
||||
"RandomStringUtils")
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user