File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
shared/dataflow/codeql/dataflow Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -4003,13 +4003,22 @@ module MakeImpl<DataFlowParameter Lang> {
4003
4003
4004
4004
private predicate relevantState ( FlowState state ) {
4005
4005
sourceNode ( _, state ) or
4006
- sinkNodeWithState ( _, state ) or
4006
+ revSinkNode ( _, state ) or
4007
4007
additionalLocalStateStep ( _, state , _, _) or
4008
4008
additionalLocalStateStep ( _, _, _, state ) or
4009
4009
additionalJumpStateStep ( _, state , _, _) or
4010
4010
additionalJumpStateStep ( _, _, _, state )
4011
4011
}
4012
4012
4013
+ private predicate revSinkNode ( NodeEx node , FlowState state ) {
4014
+ sinkNodeWithState ( node , state )
4015
+ or
4016
+ Config:: isSink ( node .asNode ( ) ) and
4017
+ relevantState ( state ) and
4018
+ not fullBarrier ( node ) and
4019
+ not stateBarrier ( node , state )
4020
+ }
4021
+
4013
4022
private newtype TSummaryCtx1 =
4014
4023
TSummaryCtx1None ( ) or
4015
4024
TSummaryCtx1Param ( ParamNodeEx p )
You can’t perform that action at this time.
0 commit comments