File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
cpp/ql/test/library-tests/dataflow/dataflow-tests Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -329,21 +329,21 @@ namespace NestedTests {
329329namespace FlowThroughGlobals {
330330 int globalVar;
331331
332- int taintGlobal () {
332+ void taintGlobal () {
333333 globalVar = source ();
334334 }
335335
336- int f () {
336+ void f () {
337337 sink (globalVar); // $ ir=333:17 ir=347:17 // tainted or clean? Not sure.
338338 taintGlobal ();
339339 sink (globalVar); // $ ir=333:17 ir=347:17 MISSING: ast
340340 }
341341
342- int calledAfterTaint () {
342+ void calledAfterTaint () {
343343 sink (globalVar); // $ ir=333:17 ir=347:17 MISSING: ast
344344 }
345345
346- int taintAndCall () {
346+ void taintAndCall () {
347347 globalVar = source ();
348348 calledAfterTaint ();
349349 sink (globalVar); // $ ast ir=333:17 ir=347:17
You can’t perform that action at this time.
0 commit comments