mirror of
https://github.com/github/codeql.git
synced 2026-05-02 04:05:14 +02:00
C++: Restrict type.
This commit is contained in:
@@ -175,7 +175,7 @@ predicate encryptionFunction(Function f)
|
||||
.regexpMatch(".*(crypt|encode|decode|hash|securezero).*")
|
||||
}
|
||||
|
||||
predicate encryptionType(Type t)
|
||||
predicate encryptionType(UserType t)
|
||||
{
|
||||
t.getName().toLowerCase().regexpMatch(".*(crypt|encode|decode|hash|securezero).*")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user