File tree Expand file tree Collapse file tree
cpp/ql/test/library-tests/dataflow/dataflow-tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -563,18 +563,18 @@ namespace IndirectFlowThroughGlobals {
563563 }
564564
565565 void f () {
566- sink (*globalInt); // $ ir=562:17 ir=576:17 // tainted or clean? Not sure.
566+ sink (*globalInt); // $ ir=562:17 ir=576:17 MISSING: ast=562:17 ast=576:17
567567 taintGlobal ();
568- sink (*globalInt); // $ ir=562:17 MISSING: ast=562:17 SPURIOUS: ir =576:17
568+ sink (*globalInt); // $ ir=562:17 ir=576:17 MISSING: ast=562:17 ast =576:17
569569 }
570570
571571 void calledAfterTaint () {
572- sink (*globalInt); // $ ir=576:17 MISSING: ast=576 :17 SPURIOUS: ir=562 :17
572+ sink (*globalInt); // $ ir=562:17 ir= 576:17 MISSING: ast=562 :17 ast=576 :17
573573 }
574574
575575 void taintAndCall () {
576576 globalInt = indirect_source ();
577577 calledAfterTaint ();
578- sink (*globalInt); // $ ir=576:17 MISSING: ast=576 :17 SPURIOUS: ir=562 :17
578+ sink (*globalInt); // $ ir=562:17 ir= 576:17 MISSING: ast=562 :17 ast=576 :17
579579 }
580- }
580+ }
You can’t perform that action at this time.
0 commit comments