File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
cpp/ql/test/library-tests/dataflow/models-as-data
swift/ql/test/library-tests/dataflow/taint/libraries Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ void test_sources() {
7575 int e = localMadSource ();
7676 sink (e); // $ ir
7777
78- sink (MyNamespace::namespaceLocalMadSource ()); // $: ir
78+ sink (MyNamespace::namespaceLocalMadSource ()); // $ ir
7979 sink (MyNamespace::namespaceLocalMadSourceVar); // $ ir
8080 sink (MyNamespace::MyNamespace2::namespace2LocalMadSource ()); // $ ir
8181 sink (MyNamespace::localMadSource ()); // $ (the MyNamespace version of this function is not a source)
@@ -475,4 +475,4 @@ void test_receive_array() {
475475 int array[10 ] = {x};
476476 int y = receive_array (array);
477477 sink (y); // $ ir
478- }
478+ }
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ func taintThroughInterpolatedStrings() {
203203
204204 sink ( arg: try ! NSString ( contentsOfFile: sourceString ( ) , encoding: 0 ) ) // $ tainted=204
205205 sink ( arg: try ! NSString ( contentsOfFile: sourceString ( ) , usedEncoding: nil ) ) // $ tainted=205
206- sink ( arg: try ! NSString ( contentsOf: sourceURL ( ) , encoding: 0 ) ) // $: tainted=206
206+ sink ( arg: try ! NSString ( contentsOf: sourceURL ( ) , encoding: 0 ) ) // $ tainted=206
207207 sink ( arg: try ! NSString ( contentsOf: URL ( string: sourceString ( ) ) !, encoding: 0 ) ) // $ tainted=207
208208 sink ( arg: try ! NSString ( contentsOf: sourceURL ( ) , usedEncoding: nil ) ) // $ tainted=208
209209 sink ( arg: try ! NSString ( contentsOf: URL ( string: sourceString ( ) ) !, usedEncoding: nil ) ) // $ tainted=209
You can’t perform that action at this time.
0 commit comments