mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
Format LibraryDetector.qll
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
import cpp
|
||||
|
||||
predicate isPossibleOpenSSLFunction(Function f) {
|
||||
isPossibleOpenSSLLocation(f.getADeclarationLocation())
|
||||
}
|
||||
|
||||
predicate isPossibleOpenSSLLocation(Location l){
|
||||
l.toString().toLowerCase().matches("%openssl%")
|
||||
isPossibleOpenSSLLocation(f.getADeclarationLocation())
|
||||
}
|
||||
|
||||
|
||||
predicate isPossibleOpenSSLLocation(Location l) { l.toString().toLowerCase().matches("%openssl%") }
|
||||
|
||||
Reference in New Issue
Block a user