File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
csharp/ql/src/semmle/code/csharp/dataflow/internal
java/ql/src/semmle/code/java/dataflow/internal Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -375,7 +375,9 @@ module Private {
375375 or
376376 exists ( ReturnKind rk |
377377 head = TReturnSummaryComponent ( rk ) and
378- result = getCallbackReturnType ( getNodeType ( summaryNodeInputState ( c , s .drop ( 1 ) ) ) , rk )
378+ result =
379+ getCallbackReturnType ( getNodeType ( summaryNodeInputState ( pragma [ only_bind_out ] ( c ) ,
380+ s .drop ( 1 ) ) ) , rk )
379381 )
380382 )
381383 or
@@ -392,7 +394,9 @@ module Private {
392394 )
393395 or
394396 exists ( int i | head = TParameterSummaryComponent ( i ) |
395- result = getCallbackParameterType ( getNodeType ( summaryNodeOutputState ( c , s .drop ( 1 ) ) ) , i )
397+ result =
398+ getCallbackParameterType ( getNodeType ( summaryNodeOutputState ( pragma [ only_bind_out ] ( c ) ,
399+ s .drop ( 1 ) ) ) , i )
396400 )
397401 )
398402 )
Original file line number Diff line number Diff line change @@ -375,7 +375,9 @@ module Private {
375375 or
376376 exists ( ReturnKind rk |
377377 head = TReturnSummaryComponent ( rk ) and
378- result = getCallbackReturnType ( getNodeType ( summaryNodeInputState ( c , s .drop ( 1 ) ) ) , rk )
378+ result =
379+ getCallbackReturnType ( getNodeType ( summaryNodeInputState ( pragma [ only_bind_out ] ( c ) ,
380+ s .drop ( 1 ) ) ) , rk )
379381 )
380382 )
381383 or
@@ -392,7 +394,9 @@ module Private {
392394 )
393395 or
394396 exists ( int i | head = TParameterSummaryComponent ( i ) |
395- result = getCallbackParameterType ( getNodeType ( summaryNodeOutputState ( c , s .drop ( 1 ) ) ) , i )
397+ result =
398+ getCallbackParameterType ( getNodeType ( summaryNodeOutputState ( pragma [ only_bind_out ] ( c ) ,
399+ s .drop ( 1 ) ) ) , i )
396400 )
397401 )
398402 )
You can’t perform that action at this time.
0 commit comments