File tree Expand file tree Collapse file tree 3 files changed +10
-14
lines changed
csharp/ql/test/library-tests/dataflow/flowsources/remote Expand file tree Collapse file tree 3 files changed +10
-14
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,6 @@ public sealed class ServiceContractAttribute : Attribute { }
7
7
public sealed class OperationContractAttribute : Attribute { }
8
8
}
9
9
10
- namespace System . Runtime . Serialization
11
- {
12
- public sealed class DataContractAttribute : Attribute { }
13
- public sealed class DataMemberAttribute : Attribute { }
14
- }
15
-
16
10
namespace RemoteFlowSource
17
11
{
18
12
using System . ServiceModel ;
Original file line number Diff line number Diff line change 1
- semmle-extractor-options: /r:System.Net.dll /r:System.Web.dll /r:System.Net.HttpListener.dll /r:System.Collections.Specialized.dll /r:System.Private.Uri.dll /r:System.Security.Cryptography.X509Certificates.dll ${testdir}/../../../../resources/stubs/System.Web.cs
1
+ semmle-extractor-options: /nostdlib /noconfig
2
+ semmle-extractor-options: --load-sources-from-project:${testdir}/../../../../resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.NETCore.App.csproj
3
+ semmle-extractor-options: ${testdir}/../../../../resources/stubs/System.Web.cs
Original file line number Diff line number Diff line change 2
2
| Controller.cs:11:62:11:66 | taint | ASP.NET MVC action method parameter |
3
3
| Controller.cs:16:43:16:52 | sampleData | ASP.NET MVC action method parameter |
4
4
| Controller.cs:16:62:16:66 | taint | ASP.NET MVC action method parameter |
5
- | RemoteFlowSource.cs:36 :17:36 :23 | access to parameter request | ASP.NET query string |
6
- | RemoteFlowSource.cs:37 :17:37 :23 | access to parameter textBox | ASP.NET user input |
7
- | RemoteFlowSource.cs:40 :44:40 :53 | sampleData | web service input |
8
- | RemoteFlowSource.cs:40 :63:40 :67 | taint | web service input |
9
- | RemoteFlowSource.cs:46 :17:46 :23 | access to parameter request | ASP.NET query string |
10
- | RemoteFlowSource.cs:51 :17:51 :23 | access to parameter request | ASP.NET query string |
11
- | RemoteFlowSource.cs:51 :17:51 :42 | access to property RawUrl | ASP.NET unvalidated request data |
5
+ | RemoteFlowSource.cs:30 :17:30 :23 | access to parameter request | ASP.NET query string |
6
+ | RemoteFlowSource.cs:31 :17:31 :23 | access to parameter textBox | ASP.NET user input |
7
+ | RemoteFlowSource.cs:34 :44:34 :53 | sampleData | web service input |
8
+ | RemoteFlowSource.cs:34 :63:34 :67 | taint | web service input |
9
+ | RemoteFlowSource.cs:40 :17:40 :23 | access to parameter request | ASP.NET query string |
10
+ | RemoteFlowSource.cs:45 :17:45 :23 | access to parameter request | ASP.NET query string |
11
+ | RemoteFlowSource.cs:45 :17:45 :42 | access to property RawUrl | ASP.NET unvalidated request data |
You can’t perform that action at this time.
0 commit comments