File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
javascript/ql/lib/semmle/javascript Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -364,7 +364,9 @@ class SyntheticControlFlowNode extends @synthetic_cfg_node, ControlFlowNode {
364
364
class ControlFlowEntryNode extends SyntheticControlFlowNode , @entry_node {
365
365
override predicate isUnreachable ( ) { none ( ) }
366
366
367
- override string toString ( ) { result = "entry node of " + this .getContainer ( ) .toString ( ) }
367
+ override string toString ( ) {
368
+ result = "entry node of " + pragma [ only_bind_out ] ( this .getContainer ( ) ) .toString ( )
369
+ }
368
370
}
369
371
370
372
/** A synthetic CFG node marking the exit of a function or toplevel script. */
@@ -373,7 +375,9 @@ class ControlFlowExitNode extends SyntheticControlFlowNode, @exit_node {
373
375
exit_cfg_node ( this , container )
374
376
}
375
377
376
- override string toString ( ) { result = "exit node of " + this .getContainer ( ) .toString ( ) }
378
+ override string toString ( ) {
379
+ result = "exit node of " + pragma [ only_bind_out ] ( this .getContainer ( ) ) .toString ( )
380
+ }
377
381
}
378
382
379
383
/**
You can’t perform that action at this time.
0 commit comments