mirror of
https://github.com/github/codeql.git
synced 2025-12-21 03:06:31 +01:00
CPP: Use hasGlobalName where appropriate.
This commit is contained in:
@@ -31,7 +31,11 @@ class PureStrFunction extends AliasFunction, ArrayFunction, TaintFunction, SideE
|
||||
name = "strtoll" or
|
||||
name = "strtoq" or
|
||||
name = "strtoul" or
|
||||
name = "wcslen" or
|
||||
name = "wcslen"
|
||||
)
|
||||
or
|
||||
hasGlobalName(name) and
|
||||
(
|
||||
name = "_mbslen" or
|
||||
name = "_mbslen_l" or
|
||||
name = "_mbstrlen" or
|
||||
|
||||
Reference in New Issue
Block a user