File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
ruby/ql/lib/codeql/ruby/dataflow/internal Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1290,16 +1290,16 @@ private import PostUpdateNodes
12901290
12911291/** A node that performs a type cast. */
12921292class CastNode extends Node {
1293- CastNode ( ) {
1294- // ensure that all variable assignments are included in the path graph
1295- this .( SsaDefinitionExtNode ) .getDefinitionExt ( ) instanceof Ssa:: WriteDefinition
1296- }
1293+ CastNode ( ) { none ( ) }
12971294}
12981295
12991296/**
13001297 * Holds if `n` should be a FlowCheckNode, which will appear in path summaries.
13011298 */
1302- predicate flowCheckNodeSpecific ( Node n ) { none ( ) }
1299+ predicate flowCheckNodeSpecific ( Node n ) {
1300+ // ensure that all variable assignments are included in the path graph
1301+ n .( SsaDefinitionExtNode ) .getDefinitionExt ( ) instanceof Ssa:: WriteDefinition
1302+ }
13031303
13041304class DataFlowExpr = CfgNodes:: ExprCfgNode ;
13051305
You can’t perform that action at this time.
0 commit comments