File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
csharp/ql/test/library-tests/dataflow/flowsources/remote Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1+ remoteFlowSourceMembers
2+ remoteFlowSources
13| Controller.cs:11:43:11:52 | sampleData | ASP.NET MVC action method parameter |
24| Controller.cs:11:62:11:66 | taint | ASP.NET MVC action method parameter |
35| Controller.cs:16:43:16:52 | sampleData | ASP.NET MVC action method parameter |
Original file line number Diff line number Diff line change 11import semmle.code.csharp.security.dataflow.flowsources.Remote
22
3- from RemoteFlowSource source
4- where source .getLocation ( ) .getFile ( ) .fromSource ( )
5- select source , source .getSourceType ( )
3+ query predicate remoteFlowSourceMembers ( TaintTracking:: TaintedMember m ) { m .fromSource ( ) }
4+
5+ query predicate remoteFlowSources ( RemoteFlowSource source , string type ) {
6+ source .getLocation ( ) .getFile ( ) .fromSource ( ) and type = source .getSourceType ( )
7+ }
You can’t perform that action at this time.
0 commit comments