C++: Catch another encryption clue.

This commit is contained in:
Geoffrey White
2022-01-21 15:32:25 +00:00
parent 97447d0b3a
commit 0b98397e9b
3 changed files with 10 additions and 2 deletions

View File

@@ -171,6 +171,11 @@ class Encrypted extends Expr {
this = fc.getAnArgument()
)
)
or
exists(Type t |
this.getType().refersTo(t) and
t.getName().toLowerCase().regexpMatch(".*(crypt|encode|decode|hash|securezero).*")
)
}
}