Skip to content

Commit f38c5f5

Browse files
committed
PS: Add lots of models.
1 parent 02c027d commit f38c5f5

File tree

1,067 files changed

+125381
-119885
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,067 files changed

+125381
-119885
lines changed

powershell/ql/lib/semmle/code/powershell/frameworks/Accessibility/model.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,25 @@ extensions:
33
pack: microsoft-sdl/powershell-all
44
extensible: typeModel
55
data:
6-
- ["System.String", "Accessibility.IAccessible", "Property[accHelp]"]
7-
- ["System.Object", "Accessibility.IAccessible", "Method[accHitTest].ReturnValue"]
8-
- ["System.Int32", "Accessibility._RemotableHandle", "Field[fContext]"]
9-
- ["System.Int32", "Accessibility.IAccessible", "Property[accChildCount]"]
10-
- ["System.Object", "Accessibility.IAccessible", "Property[accState]"]
11-
- ["Accessibility.AnnoScope", "Accessibility.AnnoScope!", "Field[ANNO_THIS]"]
12-
- ["System.Int32", "Accessibility.__MIDL_IWinTypes_0009", "Field[hRemote]"]
13-
- ["System.Object", "Accessibility.IAccessible", "Property[accParent]"]
14-
- ["System.Object", "Accessibility.IAccessible", "Property[accRole]"]
15-
- ["System.Object", "Accessibility.IAccessible", "Property[accChild]"]
16-
- ["System.String", "Accessibility.IAccessible", "Property[accKeyboardShortcut]"]
17-
- ["System.Object", "Accessibility.IAccessible", "Property[accSelection]"]
18-
- ["System.Int32", "Accessibility.IAccessible", "Property[accHelpTopic]"]
19-
- ["System.String", "Accessibility.IAccessible", "Property[accDescription]"]
20-
- ["System.String", "Accessibility.IAccessible", "Property[accDefaultAction]"]
21-
- ["System.Object", "Accessibility.IAccessible", "Property[accFocus]"]
22-
- ["Accessibility.__MIDL_IWinTypes_0009", "Accessibility._RemotableHandle", "Field[u]"]
23-
- ["System.String", "Accessibility.IAccessible", "Property[accValue]"]
24-
- ["System.Int32", "Accessibility.__MIDL_IWinTypes_0009", "Field[hInproc]"]
25-
- ["System.String", "Accessibility.IAccessible", "Property[accName]"]
26-
- ["Accessibility.AnnoScope", "Accessibility.AnnoScope!", "Field[ANNO_CONTAINER]"]
27-
- ["System.Object", "Accessibility.IAccessible", "Method[accNavigate].ReturnValue"]
6+
- ["system.string", "accessibility.iaccessible", "Property[acchelp]"]
7+
- ["system.object", "accessibility.iaccessible", "Method[acchittest].ReturnValue"]
8+
- ["system.int32", "accessibility._remotablehandle", "Field[fcontext]"]
9+
- ["system.int32", "accessibility.iaccessible", "Property[accchildcount]"]
10+
- ["system.object", "accessibility.iaccessible", "Property[accstate]"]
11+
- ["accessibility.annoscope", "accessibility.annoscope!", "Field[anno_this]"]
12+
- ["system.int32", "accessibility.__midl_iwintypes_0009", "Field[hremote]"]
13+
- ["system.object", "accessibility.iaccessible", "Property[accparent]"]
14+
- ["system.object", "accessibility.iaccessible", "Property[accrole]"]
15+
- ["system.object", "accessibility.iaccessible", "Property[accchild]"]
16+
- ["system.string", "accessibility.iaccessible", "Property[acckeyboardshortcut]"]
17+
- ["system.object", "accessibility.iaccessible", "Property[accselection]"]
18+
- ["system.int32", "accessibility.iaccessible", "Property[acchelptopic]"]
19+
- ["system.string", "accessibility.iaccessible", "Property[accdescription]"]
20+
- ["system.string", "accessibility.iaccessible", "Property[accdefaultaction]"]
21+
- ["system.object", "accessibility.iaccessible", "Property[accfocus]"]
22+
- ["accessibility.__midl_iwintypes_0009", "accessibility._remotablehandle", "Field[u]"]
23+
- ["system.string", "accessibility.iaccessible", "Property[accvalue]"]
24+
- ["system.int32", "accessibility.__midl_iwintypes_0009", "Field[hinproc]"]
25+
- ["system.string", "accessibility.iaccessible", "Property[accname]"]
26+
- ["accessibility.annoscope", "accessibility.annoscope!", "Field[anno_container]"]
27+
- ["system.object", "accessibility.iaccessible", "Method[accnavigate].ReturnValue"]

powershell/ql/lib/semmle/code/powershell/frameworks/IEHostExecute/model.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ extensions:
33
pack: microsoft-sdl/powershell-all
44
extensible: typeModel
55
data:
6-
- ["System.Int32", "IEHost.Execute.IEExecuteRemote", "Method[ExecuteAsDll].ReturnValue"]
7-
- ["System.IO.Stream", "IEHost.Execute.IEExecuteRemote", "Property[Exception]"]
8-
- ["System.Object", "IEHost.Execute.IEExecuteRemote", "Method[InitializeLifetimeService].ReturnValue"]
9-
- ["System.Int32", "IEHost.Execute.IEExecuteRemote", "Method[ExecuteAsAssembly].ReturnValue"]
6+
- ["system.int32", "iehost.execute.ieexecuteremote", "Method[executeasdll].ReturnValue"]
7+
- ["system.io.stream", "iehost.execute.ieexecuteremote", "Property[exception]"]
8+
- ["system.object", "iehost.execute.ieexecuteremote", "Method[initializelifetimeservice].ReturnValue"]
9+
- ["system.int32", "iehost.execute.ieexecuteremote", "Method[executeasassembly].ReturnValue"]

powershell/ql/lib/semmle/code/powershell/frameworks/MicrosoftActivitiesBuild/model.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ extensions:
33
pack: microsoft-sdl/powershell-all
44
extensible: typeModel
55
data:
6-
- ["System.Boolean", "Microsoft.Activities.Build.WorkflowBuildMessageTask", "Method[Execute].ReturnValue"]
7-
- ["System.String", "Microsoft.Activities.Build.WorkflowBuildMessageTask", "Property[ResourceName]"]
8-
- ["System.String", "Microsoft.Activities.Build.WorkflowBuildMessageTask", "Property[MessageType]"]
6+
- ["system.boolean", "microsoft.activities.build.workflowbuildmessagetask", "Method[execute].ReturnValue"]
7+
- ["system.string", "microsoft.activities.build.workflowbuildmessagetask", "Property[resourcename]"]
8+
- ["system.string", "microsoft.activities.build.workflowbuildmessagetask", "Property[messagetype]"]

powershell/ql/lib/semmle/code/powershell/frameworks/MicrosoftActivitiesBuildDebugger/model.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ extensions:
33
pack: microsoft-sdl/powershell-all
44
extensible: typeModel
55
data:
6-
- ["System.Boolean", "Microsoft.Activities.Build.Debugger.DebugBuildExtension", "Method[Execute].ReturnValue"]
6+
- ["system.boolean", "microsoft.activities.build.debugger.debugbuildextension", "Method[execute].ReturnValue"]

powershell/ql/lib/semmle/code/powershell/frameworks/MicrosoftActivitiesBuildExpressions/model.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ extensions:
33
pack: microsoft-sdl/powershell-all
44
extensible: typeModel
55
data:
6-
- ["System.Boolean", "Microsoft.Activities.Build.Expressions.ExpressionsBuildExtension", "Method[Execute].ReturnValue"]
6+
- ["system.boolean", "microsoft.activities.build.expressions.expressionsbuildextension", "Method[execute].ReturnValue"]

powershell/ql/lib/semmle/code/powershell/frameworks/MicrosoftActivitiesBuildValidation/model.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ extensions:
33
pack: microsoft-sdl/powershell-all
44
extensible: typeModel
55
data:
6-
- ["System.Boolean", "Microsoft.Activities.Build.Validation.ReportDeferredValidationErrorsTask", "Method[Execute].ReturnValue"]
7-
- ["System.String", "Microsoft.Activities.Build.Validation.DeferredValidationTask", "Property[DeferredValidationErrorsFilePath]"]
8-
- ["System.String", "Microsoft.Activities.Build.Validation.ReportDeferredValidationErrorsTask", "Property[DeferredValidationErrorsFilePath]"]
9-
- ["System.Boolean", "Microsoft.Activities.Build.Validation.DeferredValidationTask", "Method[Execute].ReturnValue"]
6+
- ["system.boolean", "microsoft.activities.build.validation.reportdeferredvalidationerrorstask", "Method[execute].ReturnValue"]
7+
- ["system.string", "microsoft.activities.build.validation.deferredvalidationtask", "Property[deferredvalidationerrorsfilepath]"]
8+
- ["system.string", "microsoft.activities.build.validation.reportdeferredvalidationerrorstask", "Property[deferredvalidationerrorsfilepath]"]
9+
- ["system.boolean", "microsoft.activities.build.validation.deferredvalidationtask", "Method[execute].ReturnValue"]

powershell/ql/lib/semmle/code/powershell/frameworks/MicrosoftAspnetSnapin/model.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,32 @@ extensions:
33
pack: microsoft-sdl/powershell-all
44
extensible: typeModel
55
data:
6-
- ["System.Int32", "Microsoft.Aspnet.Snapin.IExtendPropertySheet2", "Method[CreatePropertyPages].ReturnValue"]
7-
- ["Microsoft.Aspnet.Snapin.MMC_CONTROL_TYPE", "Microsoft.Aspnet.Snapin.MMC_CONTROL_TYPE!", "Field[TOOLBAR]"]
8-
- ["System.Int32", "Microsoft.Aspnet.Snapin.SCOPEDATAITEM", "Field[mask]"]
9-
- ["System.Int32", "Microsoft.Aspnet.Snapin.IDataObject", "Method[EnumDAdvise].ReturnValue"]
10-
- ["System.Int32", "Microsoft.Aspnet.Snapin.SCOPEDATAITEM", "Field[cChildren]"]
11-
- ["System.Int32", "Microsoft.Aspnet.Snapin.SCOPEDATAITEM", "Field[lParam]"]
12-
- ["System.Int32", "Microsoft.Aspnet.Snapin.IExtendPropertySheet", "Method[QueryPagesFor].ReturnValue"]
13-
- ["System.Int32", "Microsoft.Aspnet.Snapin.SCOPEDATAITEM", "Field[relativeID]"]
14-
- ["System.Int32", "Microsoft.Aspnet.Snapin.IDataObject", "Method[DAdvise].ReturnValue"]
15-
- ["System.Int32", "Microsoft.Aspnet.Snapin.IDataObject", "Method[EnumFormatEtc].ReturnValue"]
16-
- ["System.Int32", "Microsoft.Aspnet.Snapin.IExtendPropertySheet2", "Method[GetWatermarks].ReturnValue"]
17-
- ["System.Int32", "Microsoft.Aspnet.Snapin.IContextMenuCallback", "Method[AddItem].ReturnValue"]
18-
- ["System.Int32", "Microsoft.Aspnet.Snapin.SCOPEDATAITEM", "Field[nOpenImage]"]
19-
- ["System.Int32", "Microsoft.Aspnet.Snapin.IDataObject", "Method[QueryGetData].ReturnValue"]
20-
- ["System.Int32", "Microsoft.Aspnet.Snapin.SCOPEDATAITEM", "Field[ID]"]
21-
- ["System.IntPtr", "Microsoft.Aspnet.Snapin.AspNetManagementUtility!", "Method[GetActiveWindow].ReturnValue"]
22-
- ["Microsoft.Aspnet.Snapin.MMC_CONTROL_TYPE", "Microsoft.Aspnet.Snapin.MMC_CONTROL_TYPE!", "Field[COMBOBOXBAR]"]
23-
- ["System.Int32", "Microsoft.Aspnet.Snapin.SCOPEDATAITEM", "Field[nState]"]
24-
- ["System.Int32", "Microsoft.Aspnet.Snapin.IDataObject", "Method[SetData].ReturnValue"]
25-
- ["System.Int32", "Microsoft.Aspnet.Snapin.IDataObject", "Method[GetData].ReturnValue"]
26-
- ["System.Int32", "Microsoft.Aspnet.Snapin.IExtendPropertySheet", "Method[CreatePropertyPages].ReturnValue"]
27-
- ["System.IntPtr", "Microsoft.Aspnet.Snapin.SCOPEDATAITEM", "Field[displayname]"]
28-
- ["System.Int32", "Microsoft.Aspnet.Snapin.IDataObject", "Method[DUnadvise].ReturnValue"]
29-
- ["System.Int32", "Microsoft.Aspnet.Snapin.SCOPEDATAITEM", "Field[nImage]"]
30-
- ["Microsoft.Aspnet.Snapin.MMC_CONTROL_TYPE", "Microsoft.Aspnet.Snapin.MMC_CONTROL_TYPE!", "Field[MENUBUTTON]"]
31-
- ["System.Int32", "Microsoft.Aspnet.Snapin.IDataObject", "Method[GetDataHere].ReturnValue"]
32-
- ["System.Int32", "Microsoft.Aspnet.Snapin.IExtendPropertySheet2", "Method[QueryPagesFor].ReturnValue"]
33-
- ["System.Int32", "Microsoft.Aspnet.Snapin.IDataObject", "Method[GetCanonicalFormatEtc].ReturnValue"]
34-
- ["System.Int32", "Microsoft.Aspnet.Snapin.AspNetManagementUtility!", "Method[MessageBox].ReturnValue"]
6+
- ["system.int32", "microsoft.aspnet.snapin.iextendpropertysheet2", "Method[createpropertypages].ReturnValue"]
7+
- ["microsoft.aspnet.snapin.mmc_control_type", "microsoft.aspnet.snapin.mmc_control_type!", "Field[toolbar]"]
8+
- ["system.int32", "microsoft.aspnet.snapin.scopedataitem", "Field[mask]"]
9+
- ["system.int32", "microsoft.aspnet.snapin.idataobject", "Method[enumdadvise].ReturnValue"]
10+
- ["system.int32", "microsoft.aspnet.snapin.scopedataitem", "Field[cchildren]"]
11+
- ["system.int32", "microsoft.aspnet.snapin.scopedataitem", "Field[lparam]"]
12+
- ["system.int32", "microsoft.aspnet.snapin.iextendpropertysheet", "Method[querypagesfor].ReturnValue"]
13+
- ["system.int32", "microsoft.aspnet.snapin.scopedataitem", "Field[relativeid]"]
14+
- ["system.int32", "microsoft.aspnet.snapin.idataobject", "Method[dadvise].ReturnValue"]
15+
- ["system.int32", "microsoft.aspnet.snapin.idataobject", "Method[enumformatetc].ReturnValue"]
16+
- ["system.int32", "microsoft.aspnet.snapin.iextendpropertysheet2", "Method[getwatermarks].ReturnValue"]
17+
- ["system.int32", "microsoft.aspnet.snapin.icontextmenucallback", "Method[additem].ReturnValue"]
18+
- ["system.int32", "microsoft.aspnet.snapin.scopedataitem", "Field[nopenimage]"]
19+
- ["system.int32", "microsoft.aspnet.snapin.idataobject", "Method[querygetdata].ReturnValue"]
20+
- ["system.int32", "microsoft.aspnet.snapin.scopedataitem", "Field[id]"]
21+
- ["system.intptr", "microsoft.aspnet.snapin.aspnetmanagementutility!", "Method[getactivewindow].ReturnValue"]
22+
- ["microsoft.aspnet.snapin.mmc_control_type", "microsoft.aspnet.snapin.mmc_control_type!", "Field[comboboxbar]"]
23+
- ["system.int32", "microsoft.aspnet.snapin.scopedataitem", "Field[nstate]"]
24+
- ["system.int32", "microsoft.aspnet.snapin.idataobject", "Method[setdata].ReturnValue"]
25+
- ["system.int32", "microsoft.aspnet.snapin.idataobject", "Method[getdata].ReturnValue"]
26+
- ["system.int32", "microsoft.aspnet.snapin.iextendpropertysheet", "Method[createpropertypages].ReturnValue"]
27+
- ["system.intptr", "microsoft.aspnet.snapin.scopedataitem", "Field[displayname]"]
28+
- ["system.int32", "microsoft.aspnet.snapin.idataobject", "Method[dunadvise].ReturnValue"]
29+
- ["system.int32", "microsoft.aspnet.snapin.scopedataitem", "Field[nimage]"]
30+
- ["microsoft.aspnet.snapin.mmc_control_type", "microsoft.aspnet.snapin.mmc_control_type!", "Field[menubutton]"]
31+
- ["system.int32", "microsoft.aspnet.snapin.idataobject", "Method[getdatahere].ReturnValue"]
32+
- ["system.int32", "microsoft.aspnet.snapin.iextendpropertysheet2", "Method[querypagesfor].ReturnValue"]
33+
- ["system.int32", "microsoft.aspnet.snapin.idataobject", "Method[getcanonicalformatetc].ReturnValue"]
34+
- ["system.int32", "microsoft.aspnet.snapin.aspnetmanagementutility!", "Method[messagebox].ReturnValue"]

0 commit comments

Comments
 (0)