Skip to content

Commit 938069d

Browse files
committed
PS: Include more module IPA nodes.
1 parent 8550178 commit 938069d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

powershell/ql/lib/semmle/code/powershell/ApiGraphs.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,9 @@ module API {
475475
MkModule(string qualifiedModule) {
476476
any(UsingStmt using).getName() = qualifiedModule
477477
or
478-
any(Cmd cmd).getQualifiedCommandName() = qualifiedModule
478+
any(Cmd cmd).getNamespaceQualifier() = qualifiedModule
479+
or
480+
any(TypeNameExpr tn).getName() = qualifiedModule
479481
or
480482
any(ModuleManifest manifest).getModuleName() = qualifiedModule
481483
} or

0 commit comments

Comments
 (0)