/dports/devel/splint/splint-3.1.2/test/ |
H A D | tainted.expect | 3 tainted.c:5:20: Invalid transfer from tainted s to untainted (Possibly tainted 5 tainted.c:3:48: s becomes tainted 8 tainted.c:12:18: Invalid transfer from tainted s to untainted (Possibly tainted 10 tainted.c:9:34: s becomes tainted 12 tainted.c:17:18: Invalid transfer from tainted t to untainted (Possibly tainted 14 tainted.c:15:3: t becomes tainted 18 tainted.c:19:3: t becomes tainted 36 tainted.c:3:48: s becomes tainted 41 tainted.c:9:34: s becomes tainted 45 tainted.c:15:3: t becomes tainted [all …]
|
/dports/devel/p5-Taint-Util/Taint-Util-0.08/t/ |
H A D | usage.t | 9 ok !tainted($s) => "fresh scalar untainted"; 47 ok tainted($a) => "scalar \$a tainted"; 48 ok tainted($b) => "scalar \$b tainted"; 49 ok tainted($c) => "scalar \$c tainted"; 110 ok !tainted($ar) => "ARRAY untainted"; 116 ok !tainted($cr) => "CODE untainted"; 118 ok tainted($cr) => "CODE tainted"; 119 ok tainted("$cr") => '"CODE" tainted'; 126 ok tainted(*$gr) => "*STDIN tainted"; 131 ok tainted($ov) => "object tainted"; [all …]
|
H A D | export.t | 6 undef *$_ for qw(taint untaint tainted); 11 ok(!defined &tainted, 'tainted unexported'); 16 ok(defined &tainted, 'tainted exported'); 21 ok(!(defined &tainted), 'tainted unexported'); 27 ok(!(defined &tainted), 'tainted unexported'); 33 ok(!(defined &tainted), 'tainted unexported'); 36 Taint::Util->import(qw(taint untaint tainted)); 39 ok(defined &tainted, 'tainted unexported');
|
/dports/devel/splint/splint-3.1.2/test/tainted/ |
H A D | Makefile | 1 .PHONY: tainted 5 all: tainted 7 tainted: target 8 -${SPLINT} -mts tainted tainted.c -mustfree -exportlocal -expect 4 9 -${SPLINT} tainted-bad.mts tainted.xh tainted.c -mustfree -exportlocal -expect 9 10 -${SPLINT} -mts tainted tainted2.c -mustfree -exportlocal -expect 1 11 -${SPLINT} -mts tainted tainted3.c -mustfree -exportlocal -expect 1 12 -${SPLINT} -mts tainted tainted4.c -mustfree -exportlocal -expect 1 13 -${SPLINT} -mts tainted tainted5.c -mustfree -exportlocal 14 -${SPLINT} -mts tainted taintedmerge.c -mustfree -exportlocal -expect 3 [all …]
|
H A D | tainted.mts | 3 oneof untainted, tainted 5 tainted reference ==> tainted 8 tainted as untainted ==> error "Possibly tainted storage used as untainted." 9 untainted as tainted ==> untainted 11 tainted + untainted ==> tainted 12 /*untainted + tainted ==> tainted */ 15 parameter ==> tainted 16 result ==> tainted /* Different from lib/tainted.mts */
|
H A D | tainted-bad.mts | 3 oneof untainted, tainted, untainted 6 parameter ==> tainted 9 tainted reference ==> tainted 13 tainted + * ==> tainted 14 tainted + junky ==> error "Splat!" 16 tainted as untainted ==> error "Possibly tainted storage used as untainted." 17 tainted as tainted ==> tainted 18 untainted as tainted ==> peach
|
/dports/lang/perl5.34/perl-5.34.0/t/op/ |
H A D | utftaint.t | 17 sub tainted ($) { 34 is(tainted($taint), tainted($arg), "tainted: $encode, before test"); 40 is(tainted($lconcat), tainted($arg), "tainted: $encode, concat left"); 46 is(tainted($rconcat), tainted($arg), "tainted: $encode, concat right"); 51 is(tainted($ljoin), tainted($arg), "tainted: $encode, join left"); 56 is(tainted($rjoin), tainted($arg), "tainted: $encode, join right"); 58 is(tainted($taint), tainted($arg), "tainted: $encode, after test"); 77 is(tainted($taint), tainted($arg), "tainted: $encode, encode utf8"); 88 is(tainted($taint), tainted($arg), "tainted: $encode, decode byte"); 107 is(tainted($taint), tainted($arg), "tainted: $encode, upgrade up"); [all …]
|
/dports/lang/perl5.30/perl-5.30.3/t/op/ |
H A D | utftaint.t | 17 sub tainted ($) { 34 is(tainted($taint), tainted($arg), "tainted: $encode, before test"); 40 is(tainted($lconcat), tainted($arg), "tainted: $encode, concat left"); 46 is(tainted($rconcat), tainted($arg), "tainted: $encode, concat right"); 51 is(tainted($ljoin), tainted($arg), "tainted: $encode, join left"); 56 is(tainted($rjoin), tainted($arg), "tainted: $encode, join right"); 58 is(tainted($taint), tainted($arg), "tainted: $encode, after test"); 77 is(tainted($taint), tainted($arg), "tainted: $encode, encode utf8"); 88 is(tainted($taint), tainted($arg), "tainted: $encode, decode byte"); 107 is(tainted($taint), tainted($arg), "tainted: $encode, upgrade up"); [all …]
|
/dports/lang/perl5-devel/perl5-5.35.4-102-ge43d289c7c/t/op/ |
H A D | utftaint.t | 17 sub tainted ($) { 34 is(tainted($taint), tainted($arg), "tainted: $encode, before test"); 40 is(tainted($lconcat), tainted($arg), "tainted: $encode, concat left"); 46 is(tainted($rconcat), tainted($arg), "tainted: $encode, concat right"); 51 is(tainted($ljoin), tainted($arg), "tainted: $encode, join left"); 56 is(tainted($rjoin), tainted($arg), "tainted: $encode, join right"); 58 is(tainted($taint), tainted($arg), "tainted: $encode, after test"); 77 is(tainted($taint), tainted($arg), "tainted: $encode, encode utf8"); 88 is(tainted($taint), tainted($arg), "tainted: $encode, decode byte"); 107 is(tainted($taint), tainted($arg), "tainted: $encode, upgrade up"); [all …]
|
/dports/lang/perl5.32/perl-5.32.1/t/op/ |
H A D | utftaint.t | 17 sub tainted ($) { 34 is(tainted($taint), tainted($arg), "tainted: $encode, before test"); 40 is(tainted($lconcat), tainted($arg), "tainted: $encode, concat left"); 46 is(tainted($rconcat), tainted($arg), "tainted: $encode, concat right"); 51 is(tainted($ljoin), tainted($arg), "tainted: $encode, join left"); 56 is(tainted($rjoin), tainted($arg), "tainted: $encode, join right"); 58 is(tainted($taint), tainted($arg), "tainted: $encode, after test"); 77 is(tainted($taint), tainted($arg), "tainted: $encode, encode utf8"); 88 is(tainted($taint), tainted($arg), "tainted: $encode, decode byte"); 107 is(tainted($taint), tainted($arg), "tainted: $encode, upgrade up"); [all …]
|
/dports/devel/splint/splint-3.1.2/test/mergestate/ |
H A D | taintednm.mts | 3 oneof untainted, tainted 5 tainted reference ==> tainted 8 tainted as untainted ==> error "Possibly tainted storage used as untainted." 9 untainted as tainted ==> untainted 11 tainted + untainted ==> tainted 12 untainted + tainted ==> error "bogus merge" 14 reference ==> tainted 15 parameter ==> tainted 16 result ==> tainted
|
H A D | tainted.mts | 3 oneof untainted, tainted 5 tainted reference ==> tainted 8 tainted as untainted ==> error "Possibly tainted storage used as untainted." 9 untainted as tainted ==> untainted 11 tainted + untainted ==> tainted 13 reference ==> tainted 14 parameter ==> tainted 15 result ==> tainted
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/test/Analysis/Inputs/ |
H A D | taint-generic-config.yaml | 3 # int x = mySource1(); // x is tainted 8 # mySource2(&x); // x is tainted 12 # int x = myNamespace::mySource3(); // x is tainted 35 # int x; // x is tainted 37 # myPropagator(x, &y); // y is tainted 55 # int x; // x is tainted 60 # int x; // x is tainted 66 # int x; // x is tainted 74 # int x, y; // x and y are tainted 81 # int x; // x is tainted [all …]
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/test/Analysis/Inputs/ |
H A D | taint-generic-config.yaml | 3 # int x = mySource1(); // x is tainted 8 # mySource2(&x); // x is tainted 12 # int x = myNamespace::mySource3(); // x is tainted 35 # int x; // x is tainted 37 # myPropagator(x, &y); // y is tainted 55 # int x; // x is tainted 60 # int x; // x is tainted 66 # int x; // x is tainted 74 # int x, y; // x and y are tainted 81 # int x; // x is tainted [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/test/Analysis/Inputs/ |
H A D | taint-generic-config.yaml | 3 # int x = mySource1(); // x is tainted 8 # mySource2(&x); // x is tainted 12 # int x = myNamespace::mySource3(); // x is tainted 35 # int x; // x is tainted 37 # myPropagator(x, &y); // y is tainted 55 # int x; // x is tainted 60 # int x; // x is tainted 66 # int x; // x is tainted 74 # int x, y; // x and y are tainted 81 # int x; // x is tainted [all …]
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/test/Analysis/Inputs/ |
H A D | taint-generic-config.yaml | 3 # int x = mySource1(); // x is tainted 8 # mySource2(&x); // x is tainted 12 # int x = myNamespace::mySource3(); // x is tainted 35 # int x; // x is tainted 37 # myPropagator(x, &y); // y is tainted 55 # int x; // x is tainted 60 # int x; // x is tainted 66 # int x; // x is tainted 74 # int x, y; // x and y are tainted 81 # int x; // x is tainted [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/test/Analysis/Inputs/ |
H A D | taint-generic-config.yaml | 3 # int x = mySource1(); // x is tainted 8 # mySource2(&x); // x is tainted 12 # int x = myNamespace::mySource3(); // x is tainted 35 # int x; // x is tainted 37 # myPropagator(x, &y); // y is tainted 55 # int x; // x is tainted 60 # int x; // x is tainted 66 # int x; // x is tainted 74 # int x, y; // x and y are tainted 81 # int x; // x is tainted [all …]
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/test/Analysis/Inputs/ |
H A D | taint-generic-config.yaml | 3 # int x = mySource1(); // x is tainted 8 # mySource2(&x); // x is tainted 12 # int x = myNamespace::mySource3(); // x is tainted 35 # int x; // x is tainted 37 # myPropagator(x, &y); // y is tainted 55 # int x; // x is tainted 60 # int x; // x is tainted 66 # int x; // x is tainted 74 # int x, y; // x and y are tainted 81 # int x; // x is tainted [all …]
|
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/test/Analysis/Inputs/ |
H A D | taint-generic-config.yaml | 3 # int x = mySource1(); // x is tainted 8 # mySource2(&x); // x is tainted 12 # int x = myNamespace::mySource3(); // x is tainted 35 # int x; // x is tainted 37 # myPropagator(x, &y); // y is tainted 55 # int x; // x is tainted 60 # int x; // x is tainted 66 # int x; // x is tainted 74 # int x, y; // x and y are tainted 81 # int x; // x is tainted [all …]
|
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/test/Analysis/Inputs/ |
H A D | taint-generic-config.yaml | 3 # int x = mySource1(); // x is tainted 8 # mySource2(&x); // x is tainted 12 # int x = myNamespace::mySource3(); // x is tainted 35 # int x; // x is tainted 37 # myPropagator(x, &y); // y is tainted 55 # int x; // x is tainted 60 # int x; // x is tainted 66 # int x; // x is tainted 74 # int x, y; // x and y are tainted 81 # int x; // x is tainted [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/test/Analysis/Inputs/ |
H A D | taint-generic-config.yaml | 3 # int x = mySource1(); // x is tainted 8 # mySource2(&x); // x is tainted 12 # int x = myNamespace::mySource3(); // x is tainted 35 # int x; // x is tainted 37 # myPropagator(x, &y); // y is tainted 55 # int x; // x is tainted 60 # int x; // x is tainted 66 # int x; // x is tainted 74 # int x, y; // x and y are tainted 81 # int x; // x is tainted [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/test/Analysis/Inputs/ |
H A D | taint-generic-config.yaml | 3 # int x = mySource1(); // x is tainted 8 # mySource2(&x); // x is tainted 12 # int x = myNamespace::mySource3(); // x is tainted 35 # int x; // x is tainted 37 # myPropagator(x, &y); // y is tainted 55 # int x; // x is tainted 60 # int x; // x is tainted 66 # int x; // x is tainted 74 # int x, y; // x and y are tainted 81 # int x; // x is tainted [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/test/Analysis/Inputs/ |
H A D | taint-generic-config.yaml | 3 # int x = mySource1(); // x is tainted 8 # mySource2(&x); // x is tainted 12 # int x = myNamespace::mySource3(); // x is tainted 35 # int x; // x is tainted 37 # myPropagator(x, &y); // y is tainted 55 # int x; // x is tainted 60 # int x; // x is tainted 66 # int x; // x is tainted 74 # int x, y; // x and y are tainted 81 # int x; // x is tainted [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/clang/test/Analysis/Inputs/ |
H A D | taint-generic-config.yaml | 3 # int x = mySource1(); // x is tainted 8 # mySource2(&x); // x is tainted 12 # int x = myNamespace::mySource3(); // x is tainted 35 # int x; // x is tainted 37 # myPropagator(x, &y); // y is tainted 55 # int x; // x is tainted 60 # int x; // x is tainted 66 # int x; // x is tainted 74 # int x, y; // x and y are tainted 81 # int x; // x is tainted [all …]
|
/dports/lang/clang-mesa/clang-13.0.1.src/test/Analysis/Inputs/ |
H A D | taint-generic-config.yaml | 3 # int x = mySource1(); // x is tainted 8 # mySource2(&x); // x is tainted 12 # int x = myNamespace::mySource3(); // x is tainted 35 # int x; // x is tainted 37 # myPropagator(x, &y); // y is tainted 55 # int x; // x is tainted 60 # int x; // x is tainted 66 # int x; // x is tainted 74 # int x, y; // x and y are tainted 81 # int x; // x is tainted [all …]
|