File tree Expand file tree Collapse file tree 13 files changed +21
-16
lines changed
csharp/ql/test/experimental/Security Features/CWE-614 Expand file tree Collapse file tree 13 files changed +21
-16
lines changed Original file line number Diff line number Diff line change 1
- // semmle-extractor-options: ${testdir}/../../../../resources/stubs/System.Web.cs /r:System.Collections.Specialized.dll
2
-
3
1
class Program
4
2
{
5
3
void CookieDirectTrue ( )
Original file line number Diff line number Diff line change 1
- | Program.cs:19 :25:19 :29 | false | Cookie attribute 'Secure' is not set to true. |
2
- | Program.cs:24 :73:24 :77 | false | Cookie attribute 'Secure' is not set to true. |
3
- | Program.cs:44 :25:44 :25 | access to local variable v | Cookie attribute 'Secure' is not set to true. |
4
- | Program.cs:50 :73:50 :73 | access to local variable v | Cookie attribute 'Secure' is not set to true. |
1
+ | Program.cs:17 :25:17 :29 | false | Cookie attribute 'Secure' is not set to true. |
2
+ | Program.cs:22 :73:22 :77 | false | Cookie attribute 'Secure' is not set to true. |
3
+ | Program.cs:42 :25:42 :25 | access to local variable v | Cookie attribute 'Secure' is not set to true. |
4
+ | Program.cs:48 :73:48 :73 | access to local variable v | Cookie attribute 'Secure' is not set to true. |
Original file line number Diff line number Diff line change
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 1
- // semmle-extractor-options: ${testdir}/../../../../../resources/stubs/System.Web.cs /r:System.Collections.Specialized.dll
2
-
3
1
class Program
4
2
{
5
3
void CookieDefault ( )
Original file line number Diff line number Diff line change 1
- | Program.cs:7 :22:7 :60 | object creation of type HttpCookie | Cookie attribute 'Secure' is not set to true. |
1
+ | Program.cs:5 :22:5 :60 | object creation of type HttpCookie | Cookie attribute 'Secure' is not set to true. |
Original file line number Diff line number Diff line change
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 1
- // semmle-extractor-options: ${testdir}/../../../../../resources/stubs/System.Web.cs /r:System.Collections.Specialized.dll
2
-
3
1
class Program
4
2
{
5
3
void CookieDefault ( )
Original file line number Diff line number Diff line change 1
- | Program.cs:7 :22:7 :60 | object creation of type HttpCookie | Cookie attribute 'Secure' is not set to true. |
1
+ | Program.cs:5 :22:5 :60 | object creation of type HttpCookie | Cookie attribute 'Secure' is not set to true. |
Original file line number Diff line number Diff line change
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 1
- // semmle-extractor-options: ${testdir}/../../../../../resources/stubs/System.Web.cs /r:System.Collections.Specialized.dll
2
-
3
1
class Program
4
2
{
5
3
void CookieDefault ( )
You can’t perform that action at this time.
0 commit comments