mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
add Type to MkHasUnderlyingType
This commit is contained in:
@@ -423,6 +423,8 @@ module API {
|
||||
*/
|
||||
MkHasUnderlyingType(string moduleName, string exportName) {
|
||||
any(TypeAnnotation n).hasQualifiedName(moduleName, exportName)
|
||||
or
|
||||
any(Type t).hasUnderlyingType(moduleName, exportName)
|
||||
} or
|
||||
MkSyntheticCallbackArg(DataFlow::Node src, int bound, DataFlow::InvokeNode nd) {
|
||||
trackUseNode(src, true, bound).flowsTo(nd.getCalleeNode())
|
||||
|
||||
Reference in New Issue
Block a user