File tree Expand file tree Collapse file tree 4 files changed +12
-0
lines changed
go/ql/lib/semmle/go/dataflow/internal
python/ql/lib/semmle/python/dataflow/new/internal
ruby/ql/lib/codeql/ruby/dataflow/internal
swift/ql/lib/codeql/swift/dataflow/internal Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,9 @@ DataFlowCall summaryDataFlowCall(SummaryNode receiver) {
37
37
/** Gets the type of content `c`. */
38
38
DataFlowType getContentType ( Content c ) { result = c .getType ( ) }
39
39
40
+ /** Gets the type of the parameter at the given position. */
41
+ DataFlowType getParameterType ( SummarizedCallable c , ParameterPosition pos ) { any ( ) }
42
+
40
43
/** Gets the return type of kind `rk` for callable `c`. */
41
44
DataFlowType getReturnType ( SummarizedCallable c , ReturnKind rk ) { any ( ) }
42
45
Original file line number Diff line number Diff line change @@ -53,6 +53,9 @@ SummaryCall summaryDataFlowCall(SummaryNode receiver) { receiver = result.getRec
53
53
/** Gets the type of content `c`. */
54
54
DataFlowType getContentType ( Content c ) { any ( ) }
55
55
56
+ /** Gets the type of the parameter at the given position. */
57
+ DataFlowType getParameterType ( SummarizedCallable c , ParameterPosition pos ) { any ( ) }
58
+
56
59
/** Gets the return type of kind `rk` for callable `c`. */
57
60
bindingset [ c, rk]
58
61
DataFlowType getReturnType ( SummarizedCallable c , ReturnKind rk ) { any ( ) }
Original file line number Diff line number Diff line change @@ -24,6 +24,9 @@ SummaryCall summaryDataFlowCall(SummaryNode receiver) { receiver = result.getRec
24
24
/** Gets the type of content `c`. */
25
25
DataFlowType getContentType ( ContentSet c ) { any ( ) }
26
26
27
+ /** Gets the type of the parameter at the given position. */
28
+ DataFlowType getParameterType ( SummarizedCallable c , ParameterPosition pos ) { any ( ) }
29
+
27
30
/** Gets the return type of kind `rk` for callable `c`. */
28
31
bindingset [ c, rk]
29
32
DataFlowType getReturnType ( SummarizedCallable c , ReturnKind rk ) { any ( ) }
Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ SummaryCall summaryDataFlowCall(SummaryNode receiver) { receiver = result.getRec
26
26
/** Gets the type of content `c`. */
27
27
DataFlowType getContentType ( ContentSet c ) { any ( ) }
28
28
29
+ /** Gets the type of the parameter at the given position. */
30
+ DataFlowType getParameterType ( SummarizedCallable c , ParameterPosition pos ) { any ( ) }
31
+
29
32
/** Gets the return type of kind `rk` for callable `c`. */
30
33
bindingset [ c]
31
34
DataFlowType getReturnType ( SummarizedCallable c , ReturnKind rk ) { any ( ) }
You can’t perform that action at this time.
0 commit comments