fix tests and remove tarfile tar.Reader as sink

This commit is contained in:
amammad
2023-11-21 20:54:38 +01:00
parent 75e01d3648
commit fabde6e0ff
3 changed files with 601 additions and 488 deletions

View File

@@ -645,19 +645,6 @@ module DecompressionBombs {
}
}
/**
* Provides Decompression Sinks for `"archive/tar` package
*/
module ArchiveTar {
class TheSink extends Sink {
TheSink() {
exists(Method f | f.hasQualifiedName("archive/tar", "Reader", "Read") |
this = f.getACall().getReceiver()
)
}
}
}
/**
* Provides Decompression Sinks for packages that use some standard IO interfaces/methods for reading decompressed data
*/

View File

@@ -1,341 +1,401 @@
edges
| test.go:57:18:57:29 | selection of Body | test.go:166:22:166:25 | definition of file |
| test.go:58:15:58:26 | selection of Body | test.go:136:19:136:22 | definition of file |
| test.go:59:16:59:27 | selection of Body | test.go:147:20:147:23 | definition of file |
| test.go:60:16:60:46 | call to FormValue | test.go:106:20:106:27 | definition of filename |
| test.go:63:13:63:24 | selection of Body | test.go:97:17:97:19 | definition of src |
| test.go:97:17:97:19 | definition of src | test.go:98:29:98:31 | src |
| test.go:98:2:98:32 | ... := ...[0] | test.go:102:11:102:26 | type conversion |
| test.go:98:29:98:31 | src | test.go:98:2:98:32 | ... := ...[0] |
| test.go:102:11:102:26 | type conversion | test.go:103:23:103:28 | newSrc |
| test.go:106:20:106:27 | definition of filename | test.go:108:25:108:32 | filename |
| test.go:106:20:106:27 | definition of filename | test.go:121:43:121:50 | filename |
| test.go:108:2:108:33 | ... := ...[0] | test.go:110:12:110:12 | f |
| test.go:108:25:108:32 | filename | test.go:108:2:108:33 | ... := ...[0] |
| test.go:110:3:110:19 | ... := ...[0] | test.go:112:37:112:38 | rc |
| test.go:110:12:110:12 | f | test.go:110:3:110:19 | ... := ...[0] |
| test.go:121:2:121:51 | ... := ...[0] | test.go:122:20:122:29 | implicit dereference |
| test.go:121:43:121:50 | filename | test.go:121:2:121:51 | ... := ...[0] |
| test.go:122:20:122:29 | implicit dereference | test.go:122:20:122:29 | implicit dereference |
| test.go:122:20:122:29 | implicit dereference | test.go:122:20:122:29 | implicit read of field Reader |
| test.go:122:20:122:29 | implicit read of field Reader | test.go:123:12:123:12 | f |
| test.go:123:12:123:12 | f | test.go:123:12:123:19 | call to Open |
| test.go:123:12:123:19 | call to Open | test.go:125:37:125:38 | rc |
| test.go:136:19:136:22 | definition of file | test.go:137:25:137:28 | file |
| test.go:137:2:137:29 | ... := ...[0] | test.go:138:48:138:52 | file1 |
| test.go:137:25:137:28 | file | test.go:137:2:137:29 | ... := ...[0] |
| test.go:138:2:138:69 | ... := ...[0] | test.go:141:26:141:29 | file |
| test.go:138:32:138:53 | call to NewReader | test.go:138:2:138:69 | ... := ...[0] |
| test.go:138:48:138:52 | file1 | test.go:138:32:138:53 | call to NewReader |
| test.go:141:3:141:36 | ... := ...[0] | test.go:142:36:142:51 | fileReaderCloser |
| test.go:141:26:141:29 | file | test.go:141:3:141:36 | ... := ...[0] |
| test.go:147:20:147:23 | definition of file | test.go:148:25:148:28 | file |
| test.go:148:2:148:29 | ... := ...[0] | test.go:149:66:149:70 | file2 |
| test.go:148:25:148:28 | file | test.go:148:2:148:29 | ... := ...[0] |
| test.go:149:2:149:87 | ... := ...[0] | test.go:153:26:153:29 | file |
| test.go:149:50:149:71 | call to NewReader | test.go:149:2:149:87 | ... := ...[0] |
| test.go:149:66:149:70 | file2 | test.go:149:50:149:71 | call to NewReader |
| test.go:153:26:153:29 | file | test.go:153:26:153:36 | call to Open |
| test.go:153:26:153:36 | call to Open | test.go:154:36:154:51 | fileReaderCloser |
| test.go:166:22:166:25 | definition of file | test.go:169:41:169:44 | file |
| test.go:166:22:166:25 | definition of file | test.go:175:28:175:31 | file |
| test.go:166:22:166:25 | definition of file | test.go:182:28:182:31 | file |
| test.go:166:22:166:25 | definition of file | test.go:189:45:189:48 | file |
| test.go:166:22:166:25 | definition of file | test.go:195:41:195:44 | file |
| test.go:166:22:166:25 | definition of file | test.go:202:47:202:50 | file |
| test.go:166:22:166:25 | definition of file | test.go:209:29:209:32 | file |
| test.go:166:22:166:25 | definition of file | test.go:215:30:215:33 | file |
| test.go:166:22:166:25 | definition of file | test.go:222:48:222:51 | file |
| test.go:166:22:166:25 | definition of file | test.go:231:22:231:25 | file |
| test.go:166:22:166:25 | definition of file | test.go:241:33:241:36 | file |
| test.go:166:22:166:25 | definition of file | test.go:247:47:247:50 | file |
| test.go:166:22:166:25 | definition of file | test.go:256:43:256:46 | file |
| test.go:166:22:166:25 | definition of file | test.go:264:38:264:41 | file |
| test.go:166:22:166:25 | definition of file | test.go:275:33:275:36 | file |
| test.go:166:22:166:25 | definition of file | test.go:281:29:281:32 | file |
| test.go:169:3:169:73 | ... := ...[0] | test.go:171:3:171:12 | bzip2dsnet |
| test.go:169:3:169:73 | ... := ...[0] | test.go:172:27:172:36 | bzip2dsnet |
| test.go:169:41:169:44 | file | test.go:169:3:169:73 | ... := ...[0] |
| test.go:172:13:172:37 | call to NewReader | test.go:287:2:287:8 | tarRead |
| test.go:172:13:172:37 | call to NewReader | test.go:297:25:297:31 | tarRead |
| test.go:172:27:172:36 | bzip2dsnet | test.go:172:13:172:37 | call to NewReader |
| test.go:175:12:175:32 | call to NewReader | test.go:177:3:177:7 | Bzip2 |
| test.go:175:12:175:32 | call to NewReader | test.go:178:27:178:31 | Bzip2 |
| test.go:175:28:175:31 | file | test.go:175:12:175:32 | call to NewReader |
| test.go:178:13:178:32 | call to NewReader | test.go:287:2:287:8 | tarRead |
| test.go:178:13:178:32 | call to NewReader | test.go:297:25:297:31 | tarRead |
| test.go:178:27:178:31 | Bzip2 | test.go:178:13:178:32 | call to NewReader |
| test.go:182:12:182:32 | call to NewReader | test.go:184:3:184:7 | Flate |
| test.go:182:12:182:32 | call to NewReader | test.go:185:27:185:31 | Flate |
| test.go:182:28:182:31 | file | test.go:182:12:182:32 | call to NewReader |
| test.go:185:13:185:32 | call to NewReader | test.go:287:2:287:8 | tarRead |
| test.go:185:13:185:32 | call to NewReader | test.go:297:25:297:31 | tarRead |
| test.go:185:27:185:31 | Flate | test.go:185:13:185:32 | call to NewReader |
| test.go:189:20:189:49 | call to NewReader | test.go:191:3:191:15 | zlibklauspost |
| test.go:189:20:189:49 | call to NewReader | test.go:192:27:192:39 | zlibklauspost |
| test.go:189:45:189:48 | file | test.go:189:20:189:49 | call to NewReader |
| test.go:192:13:192:40 | call to NewReader | test.go:287:2:287:8 | tarRead |
| test.go:192:13:192:40 | call to NewReader | test.go:297:25:297:31 | tarRead |
| test.go:192:27:192:39 | zlibklauspost | test.go:192:13:192:40 | call to NewReader |
| test.go:195:3:195:73 | ... := ...[0] | test.go:197:3:197:12 | flatedsnet |
| test.go:195:3:195:73 | ... := ...[0] | test.go:198:27:198:36 | flatedsnet |
| test.go:195:41:195:44 | file | test.go:195:3:195:73 | ... := ...[0] |
| test.go:198:13:198:37 | call to NewReader | test.go:287:2:287:8 | tarRead |
| test.go:198:13:198:37 | call to NewReader | test.go:297:25:297:31 | tarRead |
| test.go:198:27:198:36 | flatedsnet | test.go:198:13:198:37 | call to NewReader |
| test.go:202:3:202:51 | ... := ...[0] | test.go:204:3:204:15 | zlibklauspost |
| test.go:202:3:202:51 | ... := ...[0] | test.go:205:27:205:39 | zlibklauspost |
| test.go:202:47:202:50 | file | test.go:202:3:202:51 | ... := ...[0] |
| test.go:205:13:205:40 | call to NewReader | test.go:287:2:287:8 | tarRead |
| test.go:205:13:205:40 | call to NewReader | test.go:297:25:297:31 | tarRead |
| test.go:205:27:205:39 | zlibklauspost | test.go:205:13:205:40 | call to NewReader |
| test.go:209:3:209:33 | ... := ...[0] | test.go:211:3:211:6 | Zlib |
| test.go:209:3:209:33 | ... := ...[0] | test.go:212:27:212:30 | Zlib |
| test.go:209:29:209:32 | file | test.go:209:3:209:33 | ... := ...[0] |
| test.go:212:13:212:31 | call to NewReader | test.go:287:2:287:8 | tarRead |
| test.go:212:13:212:31 | call to NewReader | test.go:297:25:297:31 | tarRead |
| test.go:212:27:212:30 | Zlib | test.go:212:13:212:31 | call to NewReader |
| test.go:215:13:215:34 | call to NewReader | test.go:217:3:217:8 | Snappy |
| test.go:215:13:215:34 | call to NewReader | test.go:218:3:218:8 | Snappy |
| test.go:215:13:215:34 | call to NewReader | test.go:219:27:219:32 | Snappy |
| test.go:215:30:215:33 | file | test.go:215:13:215:34 | call to NewReader |
| test.go:219:13:219:33 | call to NewReader | test.go:287:2:287:8 | tarRead |
| test.go:219:13:219:33 | call to NewReader | test.go:297:25:297:31 | tarRead |
| test.go:219:27:219:32 | Snappy | test.go:219:13:219:33 | call to NewReader |
| test.go:222:22:222:52 | call to NewReader | test.go:228:27:228:41 | snappyklauspost |
| test.go:222:48:222:51 | file | test.go:222:22:222:52 | call to NewReader |
| test.go:228:13:228:42 | call to NewReader | test.go:287:2:287:8 | tarRead |
| test.go:228:13:228:42 | call to NewReader | test.go:297:25:297:31 | tarRead |
| test.go:228:27:228:41 | snappyklauspost | test.go:228:13:228:42 | call to NewReader |
| test.go:231:9:231:26 | call to NewReader | test.go:233:3:233:4 | S2 |
| test.go:231:9:231:26 | call to NewReader | test.go:235:3:235:4 | S2 |
| test.go:231:9:231:26 | call to NewReader | test.go:238:27:238:28 | S2 |
| test.go:231:22:231:25 | file | test.go:231:9:231:26 | call to NewReader |
| test.go:238:13:238:29 | call to NewReader | test.go:287:2:287:8 | tarRead |
| test.go:238:13:238:29 | call to NewReader | test.go:297:25:297:31 | tarRead |
| test.go:238:27:238:28 | S2 | test.go:238:13:238:29 | call to NewReader |
| test.go:241:3:241:37 | ... := ...[0] | test.go:243:3:243:10 | gzipRead |
| test.go:241:3:241:37 | ... := ...[0] | test.go:244:27:244:34 | gzipRead |
| test.go:241:33:241:36 | file | test.go:241:3:241:37 | ... := ...[0] |
| test.go:244:13:244:35 | call to NewReader | test.go:287:2:287:8 | tarRead |
| test.go:244:13:244:35 | call to NewReader | test.go:297:25:297:31 | tarRead |
| test.go:244:27:244:34 | gzipRead | test.go:244:13:244:35 | call to NewReader |
| test.go:247:3:247:51 | ... := ...[0] | test.go:249:3:249:15 | gzipklauspost |
| test.go:247:3:247:51 | ... := ...[0] | test.go:251:3:251:15 | gzipklauspost |
| test.go:247:3:247:51 | ... := ...[0] | test.go:252:27:252:39 | gzipklauspost |
| test.go:247:47:247:50 | file | test.go:247:3:247:51 | ... := ...[0] |
| test.go:252:13:252:40 | call to NewReader | test.go:287:2:287:8 | tarRead |
| test.go:252:13:252:40 | call to NewReader | test.go:297:25:297:31 | tarRead |
| test.go:252:27:252:39 | gzipklauspost | test.go:252:13:252:40 | call to NewReader |
| test.go:256:3:256:47 | ... := ...[0] | test.go:260:3:260:11 | gzippgzip |
| test.go:256:3:256:47 | ... := ...[0] | test.go:261:27:261:35 | gzippgzip |
| test.go:256:43:256:46 | file | test.go:256:3:256:47 | ... := ...[0] |
| test.go:261:13:261:36 | call to NewReader | test.go:287:2:287:8 | tarRead |
| test.go:261:13:261:36 | call to NewReader | test.go:297:25:297:31 | tarRead |
| test.go:261:27:261:35 | gzippgzip | test.go:261:13:261:36 | call to NewReader |
| test.go:264:3:264:42 | ... := ...[0] | test.go:266:3:266:6 | zstd |
| test.go:264:3:264:42 | ... := ...[0] | test.go:268:3:268:6 | zstd |
| test.go:264:3:264:42 | ... := ...[0] | test.go:270:3:270:6 | zstd |
| test.go:264:3:264:42 | ... := ...[0] | test.go:271:27:271:30 | zstd |
| test.go:264:38:264:41 | file | test.go:264:3:264:42 | ... := ...[0] |
| test.go:271:13:271:31 | call to NewReader | test.go:287:2:287:8 | tarRead |
| test.go:271:13:271:31 | call to NewReader | test.go:297:25:297:31 | tarRead |
| test.go:271:27:271:30 | zstd | test.go:271:13:271:31 | call to NewReader |
| test.go:275:11:275:37 | call to NewReader | test.go:277:3:277:6 | zstd |
| test.go:275:11:275:37 | call to NewReader | test.go:278:27:278:30 | zstd |
| test.go:275:33:275:36 | file | test.go:275:11:275:37 | call to NewReader |
| test.go:278:13:278:31 | call to NewReader | test.go:287:2:287:8 | tarRead |
| test.go:278:13:278:31 | call to NewReader | test.go:297:25:297:31 | tarRead |
| test.go:278:27:278:30 | zstd | test.go:278:13:278:31 | call to NewReader |
| test.go:281:3:281:33 | ... := ...[0] | test.go:283:3:283:8 | xzRead |
| test.go:281:3:281:33 | ... := ...[0] | test.go:284:27:284:32 | xzRead |
| test.go:281:29:281:32 | file | test.go:281:3:281:33 | ... := ...[0] |
| test.go:284:13:284:33 | call to NewReader | test.go:287:2:287:8 | tarRead |
| test.go:284:13:284:33 | call to NewReader | test.go:297:25:297:31 | tarRead |
| test.go:284:27:284:32 | xzRead | test.go:284:13:284:33 | call to NewReader |
| test.go:56:15:56:26 | selection of Body | test.go:151:19:151:22 | definition of file |
| test.go:57:16:57:27 | selection of Body | test.go:162:20:162:23 | definition of file |
| test.go:58:16:58:46 | call to FormValue | test.go:121:20:121:27 | definition of filename |
| test.go:61:13:61:24 | selection of Body | test.go:112:17:112:19 | definition of src |
| test.go:62:15:62:26 | selection of Body | test.go:151:19:151:22 | definition of file |
| test.go:63:16:63:27 | selection of Body | test.go:162:20:162:23 | definition of file |
| test.go:64:13:64:24 | selection of Body | test.go:174:17:174:20 | definition of file |
| test.go:65:8:65:19 | selection of Body | test.go:185:12:185:15 | definition of file |
| test.go:66:8:66:19 | selection of Body | test.go:195:12:195:15 | definition of file |
| test.go:67:17:67:28 | selection of Body | test.go:205:21:205:24 | definition of file |
| test.go:68:13:68:24 | selection of Body | test.go:216:17:216:20 | definition of file |
| test.go:69:16:69:27 | selection of Body | test.go:226:20:226:23 | definition of file |
| test.go:70:7:70:18 | selection of Body | test.go:236:11:236:14 | definition of file |
| test.go:71:9:71:20 | selection of Body | test.go:246:13:246:16 | definition of file |
| test.go:72:5:72:16 | selection of Body | test.go:270:9:270:12 | definition of file |
| test.go:73:7:73:18 | selection of Body | test.go:282:11:282:14 | definition of file |
| test.go:74:16:74:27 | selection of Body | test.go:292:20:292:23 | definition of file |
| test.go:75:16:75:27 | selection of Body | test.go:304:20:304:23 | definition of file |
| test.go:76:17:76:28 | selection of Body | test.go:316:21:316:24 | definition of file |
| test.go:77:15:77:26 | selection of Body | test.go:330:19:330:22 | definition of file |
| test.go:78:5:78:16 | selection of Body | test.go:340:9:340:12 | definition of file |
| test.go:112:17:112:19 | definition of src | test.go:113:29:113:31 | src |
| test.go:113:2:113:32 | ... := ...[0] | test.go:117:11:117:26 | type conversion |
| test.go:113:29:113:31 | src | test.go:113:2:113:32 | ... := ...[0] |
| test.go:117:11:117:26 | type conversion | test.go:118:23:118:28 | newSrc |
| test.go:121:20:121:27 | definition of filename | test.go:123:25:123:32 | filename |
| test.go:121:20:121:27 | definition of filename | test.go:136:43:136:50 | filename |
| test.go:123:2:123:33 | ... := ...[0] | test.go:125:12:125:12 | f |
| test.go:123:25:123:32 | filename | test.go:123:2:123:33 | ... := ...[0] |
| test.go:125:3:125:19 | ... := ...[0] | test.go:127:37:127:38 | rc |
| test.go:125:12:125:12 | f | test.go:125:3:125:19 | ... := ...[0] |
| test.go:136:2:136:51 | ... := ...[0] | test.go:137:20:137:29 | implicit dereference |
| test.go:136:43:136:50 | filename | test.go:136:2:136:51 | ... := ...[0] |
| test.go:137:20:137:29 | implicit dereference | test.go:137:20:137:29 | implicit dereference |
| test.go:137:20:137:29 | implicit dereference | test.go:137:20:137:29 | implicit read of field Reader |
| test.go:137:20:137:29 | implicit read of field Reader | test.go:138:12:138:12 | f |
| test.go:138:12:138:12 | f | test.go:138:12:138:19 | call to Open |
| test.go:138:12:138:19 | call to Open | test.go:140:37:140:38 | rc |
| test.go:151:19:151:22 | definition of file | test.go:152:25:152:28 | file |
| test.go:152:2:152:29 | ... := ...[0] | test.go:153:48:153:52 | file1 |
| test.go:152:25:152:28 | file | test.go:152:2:152:29 | ... := ...[0] |
| test.go:153:2:153:69 | ... := ...[0] | test.go:156:26:156:29 | file |
| test.go:153:32:153:53 | call to NewReader | test.go:153:2:153:69 | ... := ...[0] |
| test.go:153:48:153:52 | file1 | test.go:153:32:153:53 | call to NewReader |
| test.go:156:3:156:36 | ... := ...[0] | test.go:157:36:157:51 | fileReaderCloser |
| test.go:156:26:156:29 | file | test.go:156:3:156:36 | ... := ...[0] |
| test.go:162:20:162:23 | definition of file | test.go:163:25:163:28 | file |
| test.go:163:2:163:29 | ... := ...[0] | test.go:164:66:164:70 | file2 |
| test.go:163:25:163:28 | file | test.go:163:2:163:29 | ... := ...[0] |
| test.go:164:2:164:87 | ... := ...[0] | test.go:168:26:168:29 | file |
| test.go:164:50:164:71 | call to NewReader | test.go:164:2:164:87 | ... := ...[0] |
| test.go:164:66:164:70 | file2 | test.go:164:50:164:71 | call to NewReader |
| test.go:168:26:168:29 | file | test.go:168:26:168:36 | call to Open |
| test.go:168:26:168:36 | call to Open | test.go:169:36:169:51 | fileReaderCloser |
| test.go:174:17:174:20 | definition of file | test.go:177:40:177:43 | file |
| test.go:177:2:177:72 | ... := ...[0] | test.go:179:2:179:11 | bzip2dsnet |
| test.go:177:2:177:72 | ... := ...[0] | test.go:180:26:180:35 | bzip2dsnet |
| test.go:177:40:177:43 | file | test.go:177:2:177:72 | ... := ...[0] |
| test.go:180:12:180:36 | call to NewReader | test.go:182:18:182:24 | tarRead |
| test.go:180:26:180:35 | bzip2dsnet | test.go:180:12:180:36 | call to NewReader |
| test.go:182:18:182:24 | tarRead | test.go:351:22:351:28 | definition of tarRead |
| test.go:185:12:185:15 | definition of file | test.go:188:27:188:30 | file |
| test.go:188:11:188:31 | call to NewReader | test.go:190:2:190:6 | Bzip2 |
| test.go:188:11:188:31 | call to NewReader | test.go:191:26:191:30 | Bzip2 |
| test.go:188:27:188:30 | file | test.go:188:11:188:31 | call to NewReader |
| test.go:191:12:191:31 | call to NewReader | test.go:193:18:193:24 | tarRead |
| test.go:191:26:191:30 | Bzip2 | test.go:191:12:191:31 | call to NewReader |
| test.go:193:18:193:24 | tarRead | test.go:351:22:351:28 | definition of tarRead |
| test.go:195:12:195:15 | definition of file | test.go:198:27:198:30 | file |
| test.go:198:11:198:31 | call to NewReader | test.go:200:2:200:6 | Flate |
| test.go:198:11:198:31 | call to NewReader | test.go:201:26:201:30 | Flate |
| test.go:198:27:198:30 | file | test.go:198:11:198:31 | call to NewReader |
| test.go:201:12:201:31 | call to NewReader | test.go:203:18:203:24 | tarRead |
| test.go:201:26:201:30 | Flate | test.go:201:12:201:31 | call to NewReader |
| test.go:203:18:203:24 | tarRead | test.go:351:22:351:28 | definition of tarRead |
| test.go:205:21:205:24 | definition of file | test.go:209:44:209:47 | file |
| test.go:209:19:209:48 | call to NewReader | test.go:211:2:211:14 | zlibklauspost |
| test.go:209:19:209:48 | call to NewReader | test.go:212:26:212:38 | zlibklauspost |
| test.go:209:44:209:47 | file | test.go:209:19:209:48 | call to NewReader |
| test.go:212:12:212:39 | call to NewReader | test.go:214:18:214:24 | tarRead |
| test.go:212:26:212:38 | zlibklauspost | test.go:212:12:212:39 | call to NewReader |
| test.go:214:18:214:24 | tarRead | test.go:351:22:351:28 | definition of tarRead |
| test.go:216:17:216:20 | definition of file | test.go:219:40:219:43 | file |
| test.go:219:2:219:72 | ... := ...[0] | test.go:221:2:221:11 | flatedsnet |
| test.go:219:2:219:72 | ... := ...[0] | test.go:222:26:222:35 | flatedsnet |
| test.go:219:40:219:43 | file | test.go:219:2:219:72 | ... := ...[0] |
| test.go:222:12:222:36 | call to NewReader | test.go:224:18:224:24 | tarRead |
| test.go:222:26:222:35 | flatedsnet | test.go:222:12:222:36 | call to NewReader |
| test.go:224:18:224:24 | tarRead | test.go:351:22:351:28 | definition of tarRead |
| test.go:226:20:226:23 | definition of file | test.go:229:46:229:49 | file |
| test.go:229:2:229:50 | ... := ...[0] | test.go:231:2:231:14 | zlibklauspost |
| test.go:229:2:229:50 | ... := ...[0] | test.go:232:26:232:38 | zlibklauspost |
| test.go:229:46:229:49 | file | test.go:229:2:229:50 | ... := ...[0] |
| test.go:232:12:232:39 | call to NewReader | test.go:234:18:234:24 | tarRead |
| test.go:232:26:232:38 | zlibklauspost | test.go:232:12:232:39 | call to NewReader |
| test.go:234:18:234:24 | tarRead | test.go:351:22:351:28 | definition of tarRead |
| test.go:236:11:236:14 | definition of file | test.go:239:28:239:31 | file |
| test.go:239:2:239:32 | ... := ...[0] | test.go:241:2:241:5 | Zlib |
| test.go:239:2:239:32 | ... := ...[0] | test.go:242:26:242:29 | Zlib |
| test.go:239:28:239:31 | file | test.go:239:2:239:32 | ... := ...[0] |
| test.go:242:12:242:30 | call to NewReader | test.go:244:18:244:24 | tarRead |
| test.go:242:26:242:29 | Zlib | test.go:242:12:242:30 | call to NewReader |
| test.go:244:18:244:24 | tarRead | test.go:351:22:351:28 | definition of tarRead |
| test.go:246:13:246:16 | definition of file | test.go:249:29:249:32 | file |
| test.go:249:12:249:33 | call to NewReader | test.go:251:2:251:7 | Snappy |
| test.go:249:12:249:33 | call to NewReader | test.go:252:2:252:7 | Snappy |
| test.go:249:12:249:33 | call to NewReader | test.go:253:26:253:31 | Snappy |
| test.go:249:29:249:32 | file | test.go:249:12:249:33 | call to NewReader |
| test.go:253:12:253:32 | call to NewReader | test.go:255:18:255:24 | tarRead |
| test.go:253:26:253:31 | Snappy | test.go:253:12:253:32 | call to NewReader |
| test.go:255:18:255:24 | tarRead | test.go:351:22:351:28 | definition of tarRead |
| test.go:270:9:270:12 | definition of file | test.go:273:21:273:24 | file |
| test.go:273:8:273:25 | call to NewReader | test.go:275:2:275:3 | S2 |
| test.go:273:8:273:25 | call to NewReader | test.go:277:2:277:3 | S2 |
| test.go:273:8:273:25 | call to NewReader | test.go:278:26:278:27 | S2 |
| test.go:273:21:273:24 | file | test.go:273:8:273:25 | call to NewReader |
| test.go:278:12:278:28 | call to NewReader | test.go:280:18:280:24 | tarRead |
| test.go:278:26:278:27 | S2 | test.go:278:12:278:28 | call to NewReader |
| test.go:280:18:280:24 | tarRead | test.go:351:22:351:28 | definition of tarRead |
| test.go:282:11:282:14 | definition of file | test.go:285:32:285:35 | file |
| test.go:285:2:285:36 | ... := ...[0] | test.go:287:2:287:9 | gzipRead |
| test.go:285:2:285:36 | ... := ...[0] | test.go:288:26:288:33 | gzipRead |
| test.go:285:32:285:35 | file | test.go:285:2:285:36 | ... := ...[0] |
| test.go:288:12:288:34 | call to NewReader | test.go:290:18:290:24 | tarRead |
| test.go:288:26:288:33 | gzipRead | test.go:288:12:288:34 | call to NewReader |
| test.go:290:18:290:24 | tarRead | test.go:351:22:351:28 | definition of tarRead |
| test.go:292:20:292:23 | definition of file | test.go:295:46:295:49 | file |
| test.go:295:2:295:50 | ... := ...[0] | test.go:297:2:297:14 | gzipklauspost |
| test.go:295:2:295:50 | ... := ...[0] | test.go:299:2:299:14 | gzipklauspost |
| test.go:295:2:295:50 | ... := ...[0] | test.go:300:26:300:38 | gzipklauspost |
| test.go:295:46:295:49 | file | test.go:295:2:295:50 | ... := ...[0] |
| test.go:300:12:300:39 | call to NewReader | test.go:302:18:302:24 | tarRead |
| test.go:300:26:300:38 | gzipklauspost | test.go:300:12:300:39 | call to NewReader |
| test.go:302:18:302:24 | tarRead | test.go:351:22:351:28 | definition of tarRead |
| test.go:304:20:304:23 | definition of file | test.go:307:42:307:45 | file |
| test.go:307:2:307:46 | ... := ...[0] | test.go:311:2:311:10 | gzippgzip |
| test.go:307:2:307:46 | ... := ...[0] | test.go:312:26:312:34 | gzippgzip |
| test.go:307:42:307:45 | file | test.go:307:2:307:46 | ... := ...[0] |
| test.go:312:12:312:35 | call to NewReader | test.go:314:18:314:24 | tarRead |
| test.go:312:26:312:34 | gzippgzip | test.go:312:12:312:35 | call to NewReader |
| test.go:314:18:314:24 | tarRead | test.go:351:22:351:28 | definition of tarRead |
| test.go:316:21:316:24 | definition of file | test.go:319:37:319:40 | file |
| test.go:319:2:319:41 | ... := ...[0] | test.go:321:2:321:5 | zstd |
| test.go:319:2:319:41 | ... := ...[0] | test.go:323:2:323:5 | zstd |
| test.go:319:2:319:41 | ... := ...[0] | test.go:325:2:325:5 | zstd |
| test.go:319:2:319:41 | ... := ...[0] | test.go:326:26:326:29 | zstd |
| test.go:319:37:319:40 | file | test.go:319:2:319:41 | ... := ...[0] |
| test.go:326:12:326:30 | call to NewReader | test.go:328:18:328:24 | tarRead |
| test.go:326:26:326:29 | zstd | test.go:326:12:326:30 | call to NewReader |
| test.go:328:18:328:24 | tarRead | test.go:351:22:351:28 | definition of tarRead |
| test.go:330:19:330:22 | definition of file | test.go:333:32:333:35 | file |
| test.go:333:10:333:36 | call to NewReader | test.go:335:2:335:5 | zstd |
| test.go:333:10:333:36 | call to NewReader | test.go:336:26:336:29 | zstd |
| test.go:333:32:333:35 | file | test.go:333:10:333:36 | call to NewReader |
| test.go:336:12:336:30 | call to NewReader | test.go:338:18:338:24 | tarRead |
| test.go:336:26:336:29 | zstd | test.go:336:12:336:30 | call to NewReader |
| test.go:338:18:338:24 | tarRead | test.go:351:22:351:28 | definition of tarRead |
| test.go:340:9:340:12 | definition of file | test.go:343:28:343:31 | file |
| test.go:343:2:343:32 | ... := ...[0] | test.go:345:2:345:7 | xzRead |
| test.go:343:2:343:32 | ... := ...[0] | test.go:346:26:346:31 | xzRead |
| test.go:343:28:343:31 | file | test.go:343:2:343:32 | ... := ...[0] |
| test.go:346:12:346:32 | call to NewReader | test.go:348:18:348:24 | tarRead |
| test.go:346:26:346:31 | xzRead | test.go:346:12:346:32 | call to NewReader |
| test.go:348:18:348:24 | tarRead | test.go:351:22:351:28 | definition of tarRead |
| test.go:351:22:351:28 | definition of tarRead | test.go:363:25:363:31 | tarRead |
| test.go:351:22:351:28 | definition of tarRead | test.go:363:25:363:31 | tarRead |
| test.go:351:22:351:28 | definition of tarRead | test.go:363:25:363:31 | tarRead |
| test.go:351:22:351:28 | definition of tarRead | test.go:363:25:363:31 | tarRead |
| test.go:351:22:351:28 | definition of tarRead | test.go:363:25:363:31 | tarRead |
| test.go:351:22:351:28 | definition of tarRead | test.go:363:25:363:31 | tarRead |
| test.go:351:22:351:28 | definition of tarRead | test.go:363:25:363:31 | tarRead |
| test.go:351:22:351:28 | definition of tarRead | test.go:363:25:363:31 | tarRead |
nodes
| test.go:57:18:57:29 | selection of Body | semmle.label | selection of Body |
| test.go:58:15:58:26 | selection of Body | semmle.label | selection of Body |
| test.go:59:16:59:27 | selection of Body | semmle.label | selection of Body |
| test.go:60:16:60:46 | call to FormValue | semmle.label | call to FormValue |
| test.go:63:13:63:24 | selection of Body | semmle.label | selection of Body |
| test.go:97:17:97:19 | definition of src | semmle.label | definition of src |
| test.go:98:2:98:32 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:98:29:98:31 | src | semmle.label | src |
| test.go:102:11:102:26 | type conversion | semmle.label | type conversion |
| test.go:103:23:103:28 | newSrc | semmle.label | newSrc |
| test.go:106:20:106:27 | definition of filename | semmle.label | definition of filename |
| test.go:108:2:108:33 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:108:25:108:32 | filename | semmle.label | filename |
| test.go:110:3:110:19 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:110:12:110:12 | f | semmle.label | f |
| test.go:112:37:112:38 | rc | semmle.label | rc |
| test.go:121:2:121:51 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:121:43:121:50 | filename | semmle.label | filename |
| test.go:122:20:122:29 | implicit dereference | semmle.label | implicit dereference |
| test.go:122:20:122:29 | implicit read of field Reader | semmle.label | implicit read of field Reader |
| test.go:123:12:123:12 | f | semmle.label | f |
| test.go:123:12:123:19 | call to Open | semmle.label | call to Open |
| test.go:125:37:125:38 | rc | semmle.label | rc |
| test.go:136:19:136:22 | definition of file | semmle.label | definition of file |
| test.go:137:2:137:29 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:137:25:137:28 | file | semmle.label | file |
| test.go:138:2:138:69 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:138:32:138:53 | call to NewReader | semmle.label | call to NewReader |
| test.go:138:48:138:52 | file1 | semmle.label | file1 |
| test.go:141:3:141:36 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:141:26:141:29 | file | semmle.label | file |
| test.go:142:36:142:51 | fileReaderCloser | semmle.label | fileReaderCloser |
| test.go:147:20:147:23 | definition of file | semmle.label | definition of file |
| test.go:148:2:148:29 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:148:25:148:28 | file | semmle.label | file |
| test.go:149:2:149:87 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:149:50:149:71 | call to NewReader | semmle.label | call to NewReader |
| test.go:149:66:149:70 | file2 | semmle.label | file2 |
| test.go:153:26:153:29 | file | semmle.label | file |
| test.go:153:26:153:36 | call to Open | semmle.label | call to Open |
| test.go:154:36:154:51 | fileReaderCloser | semmle.label | fileReaderCloser |
| test.go:166:22:166:25 | definition of file | semmle.label | definition of file |
| test.go:169:3:169:73 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:169:41:169:44 | file | semmle.label | file |
| test.go:171:3:171:12 | bzip2dsnet | semmle.label | bzip2dsnet |
| test.go:172:13:172:37 | call to NewReader | semmle.label | call to NewReader |
| test.go:172:27:172:36 | bzip2dsnet | semmle.label | bzip2dsnet |
| test.go:175:12:175:32 | call to NewReader | semmle.label | call to NewReader |
| test.go:175:28:175:31 | file | semmle.label | file |
| test.go:177:3:177:7 | Bzip2 | semmle.label | Bzip2 |
| test.go:178:13:178:32 | call to NewReader | semmle.label | call to NewReader |
| test.go:178:27:178:31 | Bzip2 | semmle.label | Bzip2 |
| test.go:182:12:182:32 | call to NewReader | semmle.label | call to NewReader |
| test.go:182:28:182:31 | file | semmle.label | file |
| test.go:184:3:184:7 | Flate | semmle.label | Flate |
| test.go:185:13:185:32 | call to NewReader | semmle.label | call to NewReader |
| test.go:185:27:185:31 | Flate | semmle.label | Flate |
| test.go:189:20:189:49 | call to NewReader | semmle.label | call to NewReader |
| test.go:189:45:189:48 | file | semmle.label | file |
| test.go:191:3:191:15 | zlibklauspost | semmle.label | zlibklauspost |
| test.go:192:13:192:40 | call to NewReader | semmle.label | call to NewReader |
| test.go:192:27:192:39 | zlibklauspost | semmle.label | zlibklauspost |
| test.go:195:3:195:73 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:195:41:195:44 | file | semmle.label | file |
| test.go:197:3:197:12 | flatedsnet | semmle.label | flatedsnet |
| test.go:198:13:198:37 | call to NewReader | semmle.label | call to NewReader |
| test.go:198:27:198:36 | flatedsnet | semmle.label | flatedsnet |
| test.go:202:3:202:51 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:202:47:202:50 | file | semmle.label | file |
| test.go:204:3:204:15 | zlibklauspost | semmle.label | zlibklauspost |
| test.go:205:13:205:40 | call to NewReader | semmle.label | call to NewReader |
| test.go:205:27:205:39 | zlibklauspost | semmle.label | zlibklauspost |
| test.go:209:3:209:33 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:209:29:209:32 | file | semmle.label | file |
| test.go:211:3:211:6 | Zlib | semmle.label | Zlib |
| test.go:212:13:212:31 | call to NewReader | semmle.label | call to NewReader |
| test.go:212:27:212:30 | Zlib | semmle.label | Zlib |
| test.go:215:13:215:34 | call to NewReader | semmle.label | call to NewReader |
| test.go:215:30:215:33 | file | semmle.label | file |
| test.go:217:3:217:8 | Snappy | semmle.label | Snappy |
| test.go:218:3:218:8 | Snappy | semmle.label | Snappy |
| test.go:219:13:219:33 | call to NewReader | semmle.label | call to NewReader |
| test.go:219:27:219:32 | Snappy | semmle.label | Snappy |
| test.go:222:22:222:52 | call to NewReader | semmle.label | call to NewReader |
| test.go:222:48:222:51 | file | semmle.label | file |
| test.go:228:13:228:42 | call to NewReader | semmle.label | call to NewReader |
| test.go:228:27:228:41 | snappyklauspost | semmle.label | snappyklauspost |
| test.go:231:9:231:26 | call to NewReader | semmle.label | call to NewReader |
| test.go:231:22:231:25 | file | semmle.label | file |
| test.go:233:3:233:4 | S2 | semmle.label | S2 |
| test.go:235:3:235:4 | S2 | semmle.label | S2 |
| test.go:238:13:238:29 | call to NewReader | semmle.label | call to NewReader |
| test.go:238:27:238:28 | S2 | semmle.label | S2 |
| test.go:241:3:241:37 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:241:33:241:36 | file | semmle.label | file |
| test.go:243:3:243:10 | gzipRead | semmle.label | gzipRead |
| test.go:244:13:244:35 | call to NewReader | semmle.label | call to NewReader |
| test.go:244:27:244:34 | gzipRead | semmle.label | gzipRead |
| test.go:247:3:247:51 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:247:47:247:50 | file | semmle.label | file |
| test.go:249:3:249:15 | gzipklauspost | semmle.label | gzipklauspost |
| test.go:251:3:251:15 | gzipklauspost | semmle.label | gzipklauspost |
| test.go:252:13:252:40 | call to NewReader | semmle.label | call to NewReader |
| test.go:252:27:252:39 | gzipklauspost | semmle.label | gzipklauspost |
| test.go:256:3:256:47 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:256:43:256:46 | file | semmle.label | file |
| test.go:260:3:260:11 | gzippgzip | semmle.label | gzippgzip |
| test.go:261:13:261:36 | call to NewReader | semmle.label | call to NewReader |
| test.go:261:27:261:35 | gzippgzip | semmle.label | gzippgzip |
| test.go:264:3:264:42 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:264:38:264:41 | file | semmle.label | file |
| test.go:266:3:266:6 | zstd | semmle.label | zstd |
| test.go:268:3:268:6 | zstd | semmle.label | zstd |
| test.go:270:3:270:6 | zstd | semmle.label | zstd |
| test.go:271:13:271:31 | call to NewReader | semmle.label | call to NewReader |
| test.go:271:27:271:30 | zstd | semmle.label | zstd |
| test.go:275:11:275:37 | call to NewReader | semmle.label | call to NewReader |
| test.go:275:33:275:36 | file | semmle.label | file |
| test.go:277:3:277:6 | zstd | semmle.label | zstd |
| test.go:278:13:278:31 | call to NewReader | semmle.label | call to NewReader |
| test.go:278:27:278:30 | zstd | semmle.label | zstd |
| test.go:281:3:281:33 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:281:29:281:32 | file | semmle.label | file |
| test.go:283:3:283:8 | xzRead | semmle.label | xzRead |
| test.go:284:13:284:33 | call to NewReader | semmle.label | call to NewReader |
| test.go:284:27:284:32 | xzRead | semmle.label | xzRead |
| test.go:287:2:287:8 | tarRead | semmle.label | tarRead |
| test.go:287:2:287:8 | tarRead | semmle.label | tarRead |
| test.go:287:2:287:8 | tarRead | semmle.label | tarRead |
| test.go:287:2:287:8 | tarRead | semmle.label | tarRead |
| test.go:287:2:287:8 | tarRead | semmle.label | tarRead |
| test.go:287:2:287:8 | tarRead | semmle.label | tarRead |
| test.go:287:2:287:8 | tarRead | semmle.label | tarRead |
| test.go:287:2:287:8 | tarRead | semmle.label | tarRead |
| test.go:297:25:297:31 | tarRead | semmle.label | tarRead |
| test.go:297:25:297:31 | tarRead | semmle.label | tarRead |
| test.go:297:25:297:31 | tarRead | semmle.label | tarRead |
| test.go:297:25:297:31 | tarRead | semmle.label | tarRead |
| test.go:297:25:297:31 | tarRead | semmle.label | tarRead |
| test.go:297:25:297:31 | tarRead | semmle.label | tarRead |
| test.go:297:25:297:31 | tarRead | semmle.label | tarRead |
| test.go:297:25:297:31 | tarRead | semmle.label | tarRead |
| test.go:56:15:56:26 | selection of Body | semmle.label | selection of Body |
| test.go:57:16:57:27 | selection of Body | semmle.label | selection of Body |
| test.go:58:16:58:46 | call to FormValue | semmle.label | call to FormValue |
| test.go:61:13:61:24 | selection of Body | semmle.label | selection of Body |
| test.go:62:15:62:26 | selection of Body | semmle.label | selection of Body |
| test.go:63:16:63:27 | selection of Body | semmle.label | selection of Body |
| test.go:64:13:64:24 | selection of Body | semmle.label | selection of Body |
| test.go:65:8:65:19 | selection of Body | semmle.label | selection of Body |
| test.go:66:8:66:19 | selection of Body | semmle.label | selection of Body |
| test.go:67:17:67:28 | selection of Body | semmle.label | selection of Body |
| test.go:68:13:68:24 | selection of Body | semmle.label | selection of Body |
| test.go:69:16:69:27 | selection of Body | semmle.label | selection of Body |
| test.go:70:7:70:18 | selection of Body | semmle.label | selection of Body |
| test.go:71:9:71:20 | selection of Body | semmle.label | selection of Body |
| test.go:72:5:72:16 | selection of Body | semmle.label | selection of Body |
| test.go:73:7:73:18 | selection of Body | semmle.label | selection of Body |
| test.go:74:16:74:27 | selection of Body | semmle.label | selection of Body |
| test.go:75:16:75:27 | selection of Body | semmle.label | selection of Body |
| test.go:76:17:76:28 | selection of Body | semmle.label | selection of Body |
| test.go:77:15:77:26 | selection of Body | semmle.label | selection of Body |
| test.go:78:5:78:16 | selection of Body | semmle.label | selection of Body |
| test.go:112:17:112:19 | definition of src | semmle.label | definition of src |
| test.go:113:2:113:32 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:113:29:113:31 | src | semmle.label | src |
| test.go:117:11:117:26 | type conversion | semmle.label | type conversion |
| test.go:118:23:118:28 | newSrc | semmle.label | newSrc |
| test.go:121:20:121:27 | definition of filename | semmle.label | definition of filename |
| test.go:123:2:123:33 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:123:25:123:32 | filename | semmle.label | filename |
| test.go:125:3:125:19 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:125:12:125:12 | f | semmle.label | f |
| test.go:127:37:127:38 | rc | semmle.label | rc |
| test.go:136:2:136:51 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:136:43:136:50 | filename | semmle.label | filename |
| test.go:137:20:137:29 | implicit dereference | semmle.label | implicit dereference |
| test.go:137:20:137:29 | implicit read of field Reader | semmle.label | implicit read of field Reader |
| test.go:138:12:138:12 | f | semmle.label | f |
| test.go:138:12:138:19 | call to Open | semmle.label | call to Open |
| test.go:140:37:140:38 | rc | semmle.label | rc |
| test.go:151:19:151:22 | definition of file | semmle.label | definition of file |
| test.go:152:2:152:29 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:152:25:152:28 | file | semmle.label | file |
| test.go:153:2:153:69 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:153:32:153:53 | call to NewReader | semmle.label | call to NewReader |
| test.go:153:48:153:52 | file1 | semmle.label | file1 |
| test.go:156:3:156:36 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:156:26:156:29 | file | semmle.label | file |
| test.go:157:36:157:51 | fileReaderCloser | semmle.label | fileReaderCloser |
| test.go:162:20:162:23 | definition of file | semmle.label | definition of file |
| test.go:163:2:163:29 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:163:25:163:28 | file | semmle.label | file |
| test.go:164:2:164:87 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:164:50:164:71 | call to NewReader | semmle.label | call to NewReader |
| test.go:164:66:164:70 | file2 | semmle.label | file2 |
| test.go:168:26:168:29 | file | semmle.label | file |
| test.go:168:26:168:36 | call to Open | semmle.label | call to Open |
| test.go:169:36:169:51 | fileReaderCloser | semmle.label | fileReaderCloser |
| test.go:174:17:174:20 | definition of file | semmle.label | definition of file |
| test.go:177:2:177:72 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:177:40:177:43 | file | semmle.label | file |
| test.go:179:2:179:11 | bzip2dsnet | semmle.label | bzip2dsnet |
| test.go:180:12:180:36 | call to NewReader | semmle.label | call to NewReader |
| test.go:180:26:180:35 | bzip2dsnet | semmle.label | bzip2dsnet |
| test.go:182:18:182:24 | tarRead | semmle.label | tarRead |
| test.go:185:12:185:15 | definition of file | semmle.label | definition of file |
| test.go:188:11:188:31 | call to NewReader | semmle.label | call to NewReader |
| test.go:188:27:188:30 | file | semmle.label | file |
| test.go:190:2:190:6 | Bzip2 | semmle.label | Bzip2 |
| test.go:191:12:191:31 | call to NewReader | semmle.label | call to NewReader |
| test.go:191:26:191:30 | Bzip2 | semmle.label | Bzip2 |
| test.go:193:18:193:24 | tarRead | semmle.label | tarRead |
| test.go:195:12:195:15 | definition of file | semmle.label | definition of file |
| test.go:198:11:198:31 | call to NewReader | semmle.label | call to NewReader |
| test.go:198:27:198:30 | file | semmle.label | file |
| test.go:200:2:200:6 | Flate | semmle.label | Flate |
| test.go:201:12:201:31 | call to NewReader | semmle.label | call to NewReader |
| test.go:201:26:201:30 | Flate | semmle.label | Flate |
| test.go:203:18:203:24 | tarRead | semmle.label | tarRead |
| test.go:205:21:205:24 | definition of file | semmle.label | definition of file |
| test.go:209:19:209:48 | call to NewReader | semmle.label | call to NewReader |
| test.go:209:44:209:47 | file | semmle.label | file |
| test.go:211:2:211:14 | zlibklauspost | semmle.label | zlibklauspost |
| test.go:212:12:212:39 | call to NewReader | semmle.label | call to NewReader |
| test.go:212:26:212:38 | zlibklauspost | semmle.label | zlibklauspost |
| test.go:214:18:214:24 | tarRead | semmle.label | tarRead |
| test.go:216:17:216:20 | definition of file | semmle.label | definition of file |
| test.go:219:2:219:72 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:219:40:219:43 | file | semmle.label | file |
| test.go:221:2:221:11 | flatedsnet | semmle.label | flatedsnet |
| test.go:222:12:222:36 | call to NewReader | semmle.label | call to NewReader |
| test.go:222:26:222:35 | flatedsnet | semmle.label | flatedsnet |
| test.go:224:18:224:24 | tarRead | semmle.label | tarRead |
| test.go:226:20:226:23 | definition of file | semmle.label | definition of file |
| test.go:229:2:229:50 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:229:46:229:49 | file | semmle.label | file |
| test.go:231:2:231:14 | zlibklauspost | semmle.label | zlibklauspost |
| test.go:232:12:232:39 | call to NewReader | semmle.label | call to NewReader |
| test.go:232:26:232:38 | zlibklauspost | semmle.label | zlibklauspost |
| test.go:234:18:234:24 | tarRead | semmle.label | tarRead |
| test.go:236:11:236:14 | definition of file | semmle.label | definition of file |
| test.go:239:2:239:32 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:239:28:239:31 | file | semmle.label | file |
| test.go:241:2:241:5 | Zlib | semmle.label | Zlib |
| test.go:242:12:242:30 | call to NewReader | semmle.label | call to NewReader |
| test.go:242:26:242:29 | Zlib | semmle.label | Zlib |
| test.go:244:18:244:24 | tarRead | semmle.label | tarRead |
| test.go:246:13:246:16 | definition of file | semmle.label | definition of file |
| test.go:249:12:249:33 | call to NewReader | semmle.label | call to NewReader |
| test.go:249:29:249:32 | file | semmle.label | file |
| test.go:251:2:251:7 | Snappy | semmle.label | Snappy |
| test.go:252:2:252:7 | Snappy | semmle.label | Snappy |
| test.go:253:12:253:32 | call to NewReader | semmle.label | call to NewReader |
| test.go:253:26:253:31 | Snappy | semmle.label | Snappy |
| test.go:255:18:255:24 | tarRead | semmle.label | tarRead |
| test.go:270:9:270:12 | definition of file | semmle.label | definition of file |
| test.go:273:8:273:25 | call to NewReader | semmle.label | call to NewReader |
| test.go:273:21:273:24 | file | semmle.label | file |
| test.go:275:2:275:3 | S2 | semmle.label | S2 |
| test.go:277:2:277:3 | S2 | semmle.label | S2 |
| test.go:278:12:278:28 | call to NewReader | semmle.label | call to NewReader |
| test.go:278:26:278:27 | S2 | semmle.label | S2 |
| test.go:280:18:280:24 | tarRead | semmle.label | tarRead |
| test.go:282:11:282:14 | definition of file | semmle.label | definition of file |
| test.go:285:2:285:36 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:285:32:285:35 | file | semmle.label | file |
| test.go:287:2:287:9 | gzipRead | semmle.label | gzipRead |
| test.go:288:12:288:34 | call to NewReader | semmle.label | call to NewReader |
| test.go:288:26:288:33 | gzipRead | semmle.label | gzipRead |
| test.go:290:18:290:24 | tarRead | semmle.label | tarRead |
| test.go:292:20:292:23 | definition of file | semmle.label | definition of file |
| test.go:295:2:295:50 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:295:46:295:49 | file | semmle.label | file |
| test.go:297:2:297:14 | gzipklauspost | semmle.label | gzipklauspost |
| test.go:299:2:299:14 | gzipklauspost | semmle.label | gzipklauspost |
| test.go:300:12:300:39 | call to NewReader | semmle.label | call to NewReader |
| test.go:300:26:300:38 | gzipklauspost | semmle.label | gzipklauspost |
| test.go:302:18:302:24 | tarRead | semmle.label | tarRead |
| test.go:304:20:304:23 | definition of file | semmle.label | definition of file |
| test.go:307:2:307:46 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:307:42:307:45 | file | semmle.label | file |
| test.go:311:2:311:10 | gzippgzip | semmle.label | gzippgzip |
| test.go:312:12:312:35 | call to NewReader | semmle.label | call to NewReader |
| test.go:312:26:312:34 | gzippgzip | semmle.label | gzippgzip |
| test.go:314:18:314:24 | tarRead | semmle.label | tarRead |
| test.go:316:21:316:24 | definition of file | semmle.label | definition of file |
| test.go:319:2:319:41 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:319:37:319:40 | file | semmle.label | file |
| test.go:321:2:321:5 | zstd | semmle.label | zstd |
| test.go:323:2:323:5 | zstd | semmle.label | zstd |
| test.go:325:2:325:5 | zstd | semmle.label | zstd |
| test.go:326:12:326:30 | call to NewReader | semmle.label | call to NewReader |
| test.go:326:26:326:29 | zstd | semmle.label | zstd |
| test.go:328:18:328:24 | tarRead | semmle.label | tarRead |
| test.go:330:19:330:22 | definition of file | semmle.label | definition of file |
| test.go:333:10:333:36 | call to NewReader | semmle.label | call to NewReader |
| test.go:333:32:333:35 | file | semmle.label | file |
| test.go:335:2:335:5 | zstd | semmle.label | zstd |
| test.go:336:12:336:30 | call to NewReader | semmle.label | call to NewReader |
| test.go:336:26:336:29 | zstd | semmle.label | zstd |
| test.go:338:18:338:24 | tarRead | semmle.label | tarRead |
| test.go:340:9:340:12 | definition of file | semmle.label | definition of file |
| test.go:343:2:343:32 | ... := ...[0] | semmle.label | ... := ...[0] |
| test.go:343:28:343:31 | file | semmle.label | file |
| test.go:345:2:345:7 | xzRead | semmle.label | xzRead |
| test.go:346:12:346:32 | call to NewReader | semmle.label | call to NewReader |
| test.go:346:26:346:31 | xzRead | semmle.label | xzRead |
| test.go:348:18:348:24 | tarRead | semmle.label | tarRead |
| test.go:351:22:351:28 | definition of tarRead | semmle.label | definition of tarRead |
| test.go:351:22:351:28 | definition of tarRead | semmle.label | definition of tarRead |
| test.go:351:22:351:28 | definition of tarRead | semmle.label | definition of tarRead |
| test.go:351:22:351:28 | definition of tarRead | semmle.label | definition of tarRead |
| test.go:351:22:351:28 | definition of tarRead | semmle.label | definition of tarRead |
| test.go:351:22:351:28 | definition of tarRead | semmle.label | definition of tarRead |
| test.go:351:22:351:28 | definition of tarRead | semmle.label | definition of tarRead |
| test.go:351:22:351:28 | definition of tarRead | semmle.label | definition of tarRead |
| test.go:363:25:363:31 | tarRead | semmle.label | tarRead |
| test.go:363:25:363:31 | tarRead | semmle.label | tarRead |
| test.go:363:25:363:31 | tarRead | semmle.label | tarRead |
| test.go:363:25:363:31 | tarRead | semmle.label | tarRead |
| test.go:363:25:363:31 | tarRead | semmle.label | tarRead |
| test.go:363:25:363:31 | tarRead | semmle.label | tarRead |
| test.go:363:25:363:31 | tarRead | semmle.label | tarRead |
| test.go:363:25:363:31 | tarRead | semmle.label | tarRead |
subpaths
#select
| test.go:103:23:103:28 | newSrc | test.go:63:13:63:24 | selection of Body | test.go:103:23:103:28 | newSrc | This decompression is $@. | test.go:63:13:63:24 | selection of Body | decompressing compressed data without managing output size |
| test.go:112:37:112:38 | rc | test.go:60:16:60:46 | call to FormValue | test.go:112:37:112:38 | rc | This decompression is $@. | test.go:60:16:60:46 | call to FormValue | decompressing compressed data without managing output size |
| test.go:125:37:125:38 | rc | test.go:60:16:60:46 | call to FormValue | test.go:125:37:125:38 | rc | This decompression is $@. | test.go:60:16:60:46 | call to FormValue | decompressing compressed data without managing output size |
| test.go:142:36:142:51 | fileReaderCloser | test.go:58:15:58:26 | selection of Body | test.go:142:36:142:51 | fileReaderCloser | This decompression is $@. | test.go:58:15:58:26 | selection of Body | decompressing compressed data without managing output size |
| test.go:154:36:154:51 | fileReaderCloser | test.go:59:16:59:27 | selection of Body | test.go:154:36:154:51 | fileReaderCloser | This decompression is $@. | test.go:59:16:59:27 | selection of Body | decompressing compressed data without managing output size |
| test.go:171:3:171:12 | bzip2dsnet | test.go:57:18:57:29 | selection of Body | test.go:171:3:171:12 | bzip2dsnet | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:177:3:177:7 | Bzip2 | test.go:57:18:57:29 | selection of Body | test.go:177:3:177:7 | Bzip2 | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:184:3:184:7 | Flate | test.go:57:18:57:29 | selection of Body | test.go:184:3:184:7 | Flate | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:191:3:191:15 | zlibklauspost | test.go:57:18:57:29 | selection of Body | test.go:191:3:191:15 | zlibklauspost | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:197:3:197:12 | flatedsnet | test.go:57:18:57:29 | selection of Body | test.go:197:3:197:12 | flatedsnet | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:204:3:204:15 | zlibklauspost | test.go:57:18:57:29 | selection of Body | test.go:204:3:204:15 | zlibklauspost | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:211:3:211:6 | Zlib | test.go:57:18:57:29 | selection of Body | test.go:211:3:211:6 | Zlib | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:217:3:217:8 | Snappy | test.go:57:18:57:29 | selection of Body | test.go:217:3:217:8 | Snappy | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:218:3:218:8 | Snappy | test.go:57:18:57:29 | selection of Body | test.go:218:3:218:8 | Snappy | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:233:3:233:4 | S2 | test.go:57:18:57:29 | selection of Body | test.go:233:3:233:4 | S2 | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:235:3:235:4 | S2 | test.go:57:18:57:29 | selection of Body | test.go:235:3:235:4 | S2 | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:243:3:243:10 | gzipRead | test.go:57:18:57:29 | selection of Body | test.go:243:3:243:10 | gzipRead | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:249:3:249:15 | gzipklauspost | test.go:57:18:57:29 | selection of Body | test.go:249:3:249:15 | gzipklauspost | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:251:3:251:15 | gzipklauspost | test.go:57:18:57:29 | selection of Body | test.go:251:3:251:15 | gzipklauspost | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:260:3:260:11 | gzippgzip | test.go:57:18:57:29 | selection of Body | test.go:260:3:260:11 | gzippgzip | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:266:3:266:6 | zstd | test.go:57:18:57:29 | selection of Body | test.go:266:3:266:6 | zstd | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:268:3:268:6 | zstd | test.go:57:18:57:29 | selection of Body | test.go:268:3:268:6 | zstd | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:270:3:270:6 | zstd | test.go:57:18:57:29 | selection of Body | test.go:270:3:270:6 | zstd | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:277:3:277:6 | zstd | test.go:57:18:57:29 | selection of Body | test.go:277:3:277:6 | zstd | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:283:3:283:8 | xzRead | test.go:57:18:57:29 | selection of Body | test.go:283:3:283:8 | xzRead | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:287:2:287:8 | tarRead | test.go:57:18:57:29 | selection of Body | test.go:287:2:287:8 | tarRead | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:287:2:287:8 | tarRead | test.go:57:18:57:29 | selection of Body | test.go:287:2:287:8 | tarRead | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:287:2:287:8 | tarRead | test.go:57:18:57:29 | selection of Body | test.go:287:2:287:8 | tarRead | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:287:2:287:8 | tarRead | test.go:57:18:57:29 | selection of Body | test.go:287:2:287:8 | tarRead | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:287:2:287:8 | tarRead | test.go:57:18:57:29 | selection of Body | test.go:287:2:287:8 | tarRead | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:287:2:287:8 | tarRead | test.go:57:18:57:29 | selection of Body | test.go:287:2:287:8 | tarRead | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:287:2:287:8 | tarRead | test.go:57:18:57:29 | selection of Body | test.go:287:2:287:8 | tarRead | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:287:2:287:8 | tarRead | test.go:57:18:57:29 | selection of Body | test.go:287:2:287:8 | tarRead | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:297:25:297:31 | tarRead | test.go:57:18:57:29 | selection of Body | test.go:297:25:297:31 | tarRead | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:297:25:297:31 | tarRead | test.go:57:18:57:29 | selection of Body | test.go:297:25:297:31 | tarRead | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:297:25:297:31 | tarRead | test.go:57:18:57:29 | selection of Body | test.go:297:25:297:31 | tarRead | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:297:25:297:31 | tarRead | test.go:57:18:57:29 | selection of Body | test.go:297:25:297:31 | tarRead | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:297:25:297:31 | tarRead | test.go:57:18:57:29 | selection of Body | test.go:297:25:297:31 | tarRead | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:297:25:297:31 | tarRead | test.go:57:18:57:29 | selection of Body | test.go:297:25:297:31 | tarRead | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:297:25:297:31 | tarRead | test.go:57:18:57:29 | selection of Body | test.go:297:25:297:31 | tarRead | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:297:25:297:31 | tarRead | test.go:57:18:57:29 | selection of Body | test.go:297:25:297:31 | tarRead | This decompression is $@. | test.go:57:18:57:29 | selection of Body | decompressing compressed data without managing output size |
| test.go:118:23:118:28 | newSrc | test.go:61:13:61:24 | selection of Body | test.go:118:23:118:28 | newSrc | This decompression is $@. | test.go:61:13:61:24 | selection of Body | decompressing compressed data without managing output size |
| test.go:127:37:127:38 | rc | test.go:58:16:58:46 | call to FormValue | test.go:127:37:127:38 | rc | This decompression is $@. | test.go:58:16:58:46 | call to FormValue | decompressing compressed data without managing output size |
| test.go:140:37:140:38 | rc | test.go:58:16:58:46 | call to FormValue | test.go:140:37:140:38 | rc | This decompression is $@. | test.go:58:16:58:46 | call to FormValue | decompressing compressed data without managing output size |
| test.go:157:36:157:51 | fileReaderCloser | test.go:56:15:56:26 | selection of Body | test.go:157:36:157:51 | fileReaderCloser | This decompression is $@. | test.go:56:15:56:26 | selection of Body | decompressing compressed data without managing output size |
| test.go:157:36:157:51 | fileReaderCloser | test.go:62:15:62:26 | selection of Body | test.go:157:36:157:51 | fileReaderCloser | This decompression is $@. | test.go:62:15:62:26 | selection of Body | decompressing compressed data without managing output size |
| test.go:169:36:169:51 | fileReaderCloser | test.go:57:16:57:27 | selection of Body | test.go:169:36:169:51 | fileReaderCloser | This decompression is $@. | test.go:57:16:57:27 | selection of Body | decompressing compressed data without managing output size |
| test.go:169:36:169:51 | fileReaderCloser | test.go:63:16:63:27 | selection of Body | test.go:169:36:169:51 | fileReaderCloser | This decompression is $@. | test.go:63:16:63:27 | selection of Body | decompressing compressed data without managing output size |
| test.go:179:2:179:11 | bzip2dsnet | test.go:64:13:64:24 | selection of Body | test.go:179:2:179:11 | bzip2dsnet | This decompression is $@. | test.go:64:13:64:24 | selection of Body | decompressing compressed data without managing output size |
| test.go:190:2:190:6 | Bzip2 | test.go:65:8:65:19 | selection of Body | test.go:190:2:190:6 | Bzip2 | This decompression is $@. | test.go:65:8:65:19 | selection of Body | decompressing compressed data without managing output size |
| test.go:200:2:200:6 | Flate | test.go:66:8:66:19 | selection of Body | test.go:200:2:200:6 | Flate | This decompression is $@. | test.go:66:8:66:19 | selection of Body | decompressing compressed data without managing output size |
| test.go:211:2:211:14 | zlibklauspost | test.go:67:17:67:28 | selection of Body | test.go:211:2:211:14 | zlibklauspost | This decompression is $@. | test.go:67:17:67:28 | selection of Body | decompressing compressed data without managing output size |
| test.go:221:2:221:11 | flatedsnet | test.go:68:13:68:24 | selection of Body | test.go:221:2:221:11 | flatedsnet | This decompression is $@. | test.go:68:13:68:24 | selection of Body | decompressing compressed data without managing output size |
| test.go:231:2:231:14 | zlibklauspost | test.go:69:16:69:27 | selection of Body | test.go:231:2:231:14 | zlibklauspost | This decompression is $@. | test.go:69:16:69:27 | selection of Body | decompressing compressed data without managing output size |
| test.go:241:2:241:5 | Zlib | test.go:70:7:70:18 | selection of Body | test.go:241:2:241:5 | Zlib | This decompression is $@. | test.go:70:7:70:18 | selection of Body | decompressing compressed data without managing output size |
| test.go:251:2:251:7 | Snappy | test.go:71:9:71:20 | selection of Body | test.go:251:2:251:7 | Snappy | This decompression is $@. | test.go:71:9:71:20 | selection of Body | decompressing compressed data without managing output size |
| test.go:252:2:252:7 | Snappy | test.go:71:9:71:20 | selection of Body | test.go:252:2:252:7 | Snappy | This decompression is $@. | test.go:71:9:71:20 | selection of Body | decompressing compressed data without managing output size |
| test.go:275:2:275:3 | S2 | test.go:72:5:72:16 | selection of Body | test.go:275:2:275:3 | S2 | This decompression is $@. | test.go:72:5:72:16 | selection of Body | decompressing compressed data without managing output size |
| test.go:277:2:277:3 | S2 | test.go:72:5:72:16 | selection of Body | test.go:277:2:277:3 | S2 | This decompression is $@. | test.go:72:5:72:16 | selection of Body | decompressing compressed data without managing output size |
| test.go:287:2:287:9 | gzipRead | test.go:73:7:73:18 | selection of Body | test.go:287:2:287:9 | gzipRead | This decompression is $@. | test.go:73:7:73:18 | selection of Body | decompressing compressed data without managing output size |
| test.go:297:2:297:14 | gzipklauspost | test.go:74:16:74:27 | selection of Body | test.go:297:2:297:14 | gzipklauspost | This decompression is $@. | test.go:74:16:74:27 | selection of Body | decompressing compressed data without managing output size |
| test.go:299:2:299:14 | gzipklauspost | test.go:74:16:74:27 | selection of Body | test.go:299:2:299:14 | gzipklauspost | This decompression is $@. | test.go:74:16:74:27 | selection of Body | decompressing compressed data without managing output size |
| test.go:311:2:311:10 | gzippgzip | test.go:75:16:75:27 | selection of Body | test.go:311:2:311:10 | gzippgzip | This decompression is $@. | test.go:75:16:75:27 | selection of Body | decompressing compressed data without managing output size |
| test.go:321:2:321:5 | zstd | test.go:76:17:76:28 | selection of Body | test.go:321:2:321:5 | zstd | This decompression is $@. | test.go:76:17:76:28 | selection of Body | decompressing compressed data without managing output size |
| test.go:323:2:323:5 | zstd | test.go:76:17:76:28 | selection of Body | test.go:323:2:323:5 | zstd | This decompression is $@. | test.go:76:17:76:28 | selection of Body | decompressing compressed data without managing output size |
| test.go:325:2:325:5 | zstd | test.go:76:17:76:28 | selection of Body | test.go:325:2:325:5 | zstd | This decompression is $@. | test.go:76:17:76:28 | selection of Body | decompressing compressed data without managing output size |
| test.go:335:2:335:5 | zstd | test.go:77:15:77:26 | selection of Body | test.go:335:2:335:5 | zstd | This decompression is $@. | test.go:77:15:77:26 | selection of Body | decompressing compressed data without managing output size |
| test.go:345:2:345:7 | xzRead | test.go:78:5:78:16 | selection of Body | test.go:345:2:345:7 | xzRead | This decompression is $@. | test.go:78:5:78:16 | selection of Body | decompressing compressed data without managing output size |
| test.go:363:25:363:31 | tarRead | test.go:64:13:64:24 | selection of Body | test.go:363:25:363:31 | tarRead | This decompression is $@. | test.go:64:13:64:24 | selection of Body | decompressing compressed data without managing output size |
| test.go:363:25:363:31 | tarRead | test.go:65:8:65:19 | selection of Body | test.go:363:25:363:31 | tarRead | This decompression is $@. | test.go:65:8:65:19 | selection of Body | decompressing compressed data without managing output size |
| test.go:363:25:363:31 | tarRead | test.go:66:8:66:19 | selection of Body | test.go:363:25:363:31 | tarRead | This decompression is $@. | test.go:66:8:66:19 | selection of Body | decompressing compressed data without managing output size |
| test.go:363:25:363:31 | tarRead | test.go:67:17:67:28 | selection of Body | test.go:363:25:363:31 | tarRead | This decompression is $@. | test.go:67:17:67:28 | selection of Body | decompressing compressed data without managing output size |
| test.go:363:25:363:31 | tarRead | test.go:68:13:68:24 | selection of Body | test.go:363:25:363:31 | tarRead | This decompression is $@. | test.go:68:13:68:24 | selection of Body | decompressing compressed data without managing output size |
| test.go:363:25:363:31 | tarRead | test.go:69:16:69:27 | selection of Body | test.go:363:25:363:31 | tarRead | This decompression is $@. | test.go:69:16:69:27 | selection of Body | decompressing compressed data without managing output size |
| test.go:363:25:363:31 | tarRead | test.go:70:7:70:18 | selection of Body | test.go:363:25:363:31 | tarRead | This decompression is $@. | test.go:70:7:70:18 | selection of Body | decompressing compressed data without managing output size |
| test.go:363:25:363:31 | tarRead | test.go:71:9:71:20 | selection of Body | test.go:363:25:363:31 | tarRead | This decompression is $@. | test.go:71:9:71:20 | selection of Body | decompressing compressed data without managing output size |
| test.go:363:25:363:31 | tarRead | test.go:72:5:72:16 | selection of Body | test.go:363:25:363:31 | tarRead | This decompression is $@. | test.go:72:5:72:16 | selection of Body | decompressing compressed data without managing output size |
| test.go:363:25:363:31 | tarRead | test.go:73:7:73:18 | selection of Body | test.go:363:25:363:31 | tarRead | This decompression is $@. | test.go:73:7:73:18 | selection of Body | decompressing compressed data without managing output size |
| test.go:363:25:363:31 | tarRead | test.go:74:16:74:27 | selection of Body | test.go:363:25:363:31 | tarRead | This decompression is $@. | test.go:74:16:74:27 | selection of Body | decompressing compressed data without managing output size |
| test.go:363:25:363:31 | tarRead | test.go:75:16:75:27 | selection of Body | test.go:363:25:363:31 | tarRead | This decompression is $@. | test.go:75:16:75:27 | selection of Body | decompressing compressed data without managing output size |
| test.go:363:25:363:31 | tarRead | test.go:76:17:76:28 | selection of Body | test.go:363:25:363:31 | tarRead | This decompression is $@. | test.go:76:17:76:28 | selection of Body | decompressing compressed data without managing output size |
| test.go:363:25:363:31 | tarRead | test.go:77:15:77:26 | selection of Body | test.go:363:25:363:31 | tarRead | This decompression is $@. | test.go:77:15:77:26 | selection of Body | decompressing compressed data without managing output size |
| test.go:363:25:363:31 | tarRead | test.go:78:5:78:16 | selection of Body | test.go:363:25:363:31 | tarRead | This decompression is $@. | test.go:78:5:78:16 | selection of Body | decompressing compressed data without managing output size |

View File

@@ -23,13 +23,6 @@ import (
"compress/gzip"
"compress/zlib"
"fmt"
"io"
"io/ioutil"
"net/http"
"os"
"testing/fstest"
zstdDataDog "github.com/DataDog/zstd"
bzip2Dsnet "github.com/dsnet/compress/bzip2"
flateDsnet "github.com/dsnet/compress/flate"
"github.com/golang/snappy"
@@ -37,11 +30,17 @@ import (
gzipKlauspost "github.com/klauspost/compress/gzip"
"github.com/klauspost/compress/s2"
snappyKlauspost "github.com/klauspost/compress/snappy"
zipKlauspost "github.com/klauspost/compress/zip"
zlibKlauspost "github.com/klauspost/compress/zlib"
zstdKlauspost "github.com/klauspost/compress/zstd"
pzipKlauspost "github.com/klauspost/pgzip"
"github.com/ulikunitz/xz"
"io"
"net/http"
"os"
"testing/fstest"
zstdDataDog "github.com/DataDog/zstd"
zipKlauspost "github.com/klauspost/compress/zip"
zstdKlauspost "github.com/klauspost/compress/zstd"
)
func main() {
@@ -54,13 +53,29 @@ func main() {
}
func DecompressHandler(w http.ResponseWriter, request *http.Request) {
TarDecompressor(request.Body, "gz")
ZipNewReader(request.Body)
ZipNewReader2(request.Body)
ZipOpenReader(request.FormValue("filepathba"))
ZipOpenReaderSafe(request.PostFormValue("test"))
GZipOpenReaderSafe(request.PostFormValue("test"))
GZipReader(request.Body, "dest")
ZipNewReader(request.Body)
ZipNewReader2(request.Body)
Bzip2Dsnet(request.Body)
Bzip2(request.Body)
Flate(request.Body)
FlateKlauspost(request.Body)
FlateDsnet(request.Body)
ZlibKlauspost(request.Body)
Zlib(request.Body)
Snappy(request.Body)
S2(request.Body)
Gzip(request.Body)
GzipKlauspost(request.Body)
PzipKlauspost(request.Body)
Zstd_Klauspost(request.Body)
Zstd_DataDog(request.Body)
Xz(request.Body)
}
func GZipOpenReaderSafe(filename string) {
@@ -155,136 +170,187 @@ func ZipNewReader2(file io.Reader) {
fmt.Print(result)
}
}
func serve(w http.ResponseWriter, r *http.Request) {
if r.Body != nil {
if data, err := ioutil.ReadAll(r.Body); err == nil {
fmt.Println(data)
}
}
func Bzip2Dsnet(file io.Reader) {
var tarRead *tar.Reader
bzip2dsnet, _ := bzip2Dsnet.NewReader(file, &bzip2Dsnet.ReaderConfig{})
var out []byte = make([]byte, 70)
bzip2dsnet.Read(out)
tarRead = tar.NewReader(bzip2dsnet)
TarDecompressor(tarRead)
}
func Bzip2(file io.Reader) {
var tarRead *tar.Reader
Bzip2 := bzip2.NewReader(file)
var out []byte = make([]byte, 70)
Bzip2.Read(out)
tarRead = tar.NewReader(Bzip2)
TarDecompressor(tarRead)
}
func Flate(file io.Reader) {
var tarRead *tar.Reader
Flate := flate.NewReader(file)
var out []byte = make([]byte, 70)
Flate.Read(out)
tarRead = tar.NewReader(Flate)
TarDecompressor(tarRead)
}
func FlateKlauspost(file io.Reader) {
var tarRead *tar.Reader
//flateKlauspost.NewReaderDict()
zlibklauspost := flateKlauspost.NewReader(file)
var out []byte = make([]byte, 70)
zlibklauspost.Read(out)
tarRead = tar.NewReader(zlibklauspost)
TarDecompressor(tarRead)
}
func FlateDsnet(file io.Reader) {
var tarRead *tar.Reader
flatedsnet, _ := flateDsnet.NewReader(file, &flateDsnet.ReaderConfig{})
var out []byte = make([]byte, 70)
flatedsnet.Read(out)
tarRead = tar.NewReader(flatedsnet)
TarDecompressor(tarRead)
}
func ZlibKlauspost(file io.Reader) {
var tarRead *tar.Reader
zlibklauspost, _ := zlibKlauspost.NewReader(file)
var out []byte = make([]byte, 70)
zlibklauspost.Read(out)
tarRead = tar.NewReader(zlibklauspost)
TarDecompressor(tarRead)
}
func Zlib(file io.Reader) {
var tarRead *tar.Reader
Zlib, _ := zlib.NewReader(file)
var out []byte = make([]byte, 70)
Zlib.Read(out)
tarRead = tar.NewReader(Zlib)
TarDecompressor(tarRead)
}
func Snappy(file io.Reader) {
var tarRead *tar.Reader
Snappy := snappy.NewReader(file)
var out []byte = make([]byte, 70)
Snappy.Read(out)
Snappy.ReadByte()
tarRead = tar.NewReader(Snappy)
TarDecompressor(tarRead)
}
func SnappyKlauspost(file io.Reader) {
var tarRead *tar.Reader
snappyklauspost := snappyKlauspost.NewReader(file)
var out []byte = make([]byte, 70)
snappyklauspost.Read(out)
var buf bytes.Buffer
snappyklauspost.DecodeConcurrent(&buf, 2)
snappyklauspost.ReadByte()
tarRead = tar.NewReader(snappyklauspost)
TarDecompressor(tarRead)
}
func S2(file io.Reader) {
var tarRead *tar.Reader
S2 := s2.NewReader(file)
var out []byte = make([]byte, 70)
S2.Read(out)
var buf bytes.Buffer
S2.DecodeConcurrent(&buf, 2)
tarRead = tar.NewReader(S2)
TarDecompressor(tarRead)
}
func Gzip(file io.Reader) {
var tarRead *tar.Reader
gzipRead, _ := gzip.NewReader(file)
var out []byte = make([]byte, 70)
gzipRead.Read(out)
tarRead = tar.NewReader(gzipRead)
TarDecompressor(tarRead)
}
func GzipKlauspost(file io.Reader) {
var tarRead *tar.Reader
gzipklauspost, _ := gzipKlauspost.NewReader(file)
var out []byte = make([]byte, 70)
gzipklauspost.Read(out)
var buf bytes.Buffer
gzipklauspost.WriteTo(&buf)
tarRead = tar.NewReader(gzipklauspost)
TarDecompressor(tarRead)
}
func PzipKlauspost(file io.Reader) {
var tarRead *tar.Reader
gzippgzip, _ := pzipKlauspost.NewReader(file)
var out []byte = make([]byte, 70)
gzippgzip.Read(out)
var buf bytes.Buffer
gzippgzip.WriteTo(&buf)
tarRead = tar.NewReader(gzippgzip)
TarDecompressor(tarRead)
}
func Zstd_Klauspost(file io.Reader) {
var tarRead *tar.Reader
zstd, _ := zstdKlauspost.NewReader(file)
var out []byte = make([]byte, 70)
zstd.Read(out)
var buf bytes.Buffer
zstd.WriteTo(&buf)
var src []byte
zstd.DecodeAll(src, nil)
tarRead = tar.NewReader(zstd)
TarDecompressor(tarRead)
}
func Zstd_DataDog(file io.Reader) {
var tarRead *tar.Reader
zstd := zstdDataDog.NewReader(file)
var out []byte = make([]byte, 70)
zstd.Read(out)
tarRead = tar.NewReader(zstd)
TarDecompressor(tarRead)
}
func Xz(file io.Reader) {
var tarRead *tar.Reader
xzRead, _ := xz.NewReader(file)
var out []byte = make([]byte, 70)
xzRead.Read(out)
tarRead = tar.NewReader(xzRead)
TarDecompressor(tarRead)
}
func TarDecompressor(file io.Reader, compressionType string) {
var tarRead *tar.Reader
if compressionType == "bzip2Dsnet" {
bzip2dsnet, _ := bzip2Dsnet.NewReader(file, &bzip2Dsnet.ReaderConfig{})
var out []byte = make([]byte, 70)
bzip2dsnet.Read(out)
tarRead = tar.NewReader(bzip2dsnet)
}
if compressionType == "bzip2" {
Bzip2 := bzip2.NewReader(file)
var out []byte = make([]byte, 70)
Bzip2.Read(out)
tarRead = tar.NewReader(Bzip2)
}
if compressionType == "flate" {
//flate.NewReaderDict()
Flate := flate.NewReader(file)
var out []byte = make([]byte, 70)
Flate.Read(out)
tarRead = tar.NewReader(Flate)
}
if compressionType == "flateKlauspost" {
//flateKlauspost.NewReaderDict()
zlibklauspost := flateKlauspost.NewReader(file)
var out []byte = make([]byte, 70)
zlibklauspost.Read(out)
tarRead = tar.NewReader(zlibklauspost)
}
if compressionType == "flateDsnet" {
flatedsnet, _ := flateDsnet.NewReader(file, &flateDsnet.ReaderConfig{})
var out []byte = make([]byte, 70)
flatedsnet.Read(out)
tarRead = tar.NewReader(flatedsnet)
}
if compressionType == "zlibKlauspost" {
//zlibKlauspost.NewReaderDict()
zlibklauspost, _ := zlibKlauspost.NewReader(file)
var out []byte = make([]byte, 70)
zlibklauspost.Read(out)
tarRead = tar.NewReader(zlibklauspost)
}
if compressionType == "zlib" {
//zlib.NewReaderDict()
Zlib, _ := zlib.NewReader(file)
var out []byte = make([]byte, 70)
Zlib.Read(out)
tarRead = tar.NewReader(Zlib)
}
if compressionType == "snappy" {
Snappy := snappy.NewReader(file)
var out []byte = make([]byte, 70)
Snappy.Read(out)
Snappy.ReadByte()
tarRead = tar.NewReader(Snappy)
}
if compressionType == "snappyKlauspost" {
snappyklauspost := snappyKlauspost.NewReader(file)
var out []byte = make([]byte, 70)
snappyklauspost.Read(out)
var buf bytes.Buffer
snappyklauspost.DecodeConcurrent(&buf, 2)
snappyklauspost.ReadByte()
tarRead = tar.NewReader(snappyklauspost)
}
if compressionType == "s2" {
S2 := s2.NewReader(file)
var out []byte = make([]byte, 70)
S2.Read(out)
var buf bytes.Buffer
S2.DecodeConcurrent(&buf, 2)
//S2.ReadSeeker()
//S2.ReadByte()
tarRead = tar.NewReader(S2)
}
if compressionType == "gz" {
gzipRead, _ := gzip.NewReader(file)
var out []byte = make([]byte, 70)
gzipRead.Read(out)
tarRead = tar.NewReader(gzipRead)
}
if compressionType == "gzipKlauspost" {
gzipklauspost, _ := gzipKlauspost.NewReader(file)
var out []byte = make([]byte, 70)
gzipklauspost.Read(out)
var buf bytes.Buffer
gzipklauspost.WriteTo(&buf)
tarRead = tar.NewReader(gzipklauspost)
}
if compressionType == "pzipKlauspost" {
//gzipPgzip.NewReaderN()
gzippgzip, _ := pzipKlauspost.NewReader(file)
var out []byte = make([]byte, 70)
gzippgzip.Read(out)
var buf bytes.Buffer
gzippgzip.WriteTo(&buf)
tarRead = tar.NewReader(gzippgzip)
}
if compressionType == "zstd_Klauspost" {
zstd, _ := zstdKlauspost.NewReader(file)
var out []byte = make([]byte, 70)
zstd.Read(out)
var buf bytes.Buffer
zstd.WriteTo(&buf)
var src []byte
zstd.DecodeAll(src, nil)
tarRead = tar.NewReader(zstd)
}
if compressionType == "zstd_DataDog" {
//zstdDataDog.NewReaderDict()
zstd := zstdDataDog.NewReader(file)
var out []byte = make([]byte, 70)
zstd.Read(out)
tarRead = tar.NewReader(zstd)
}
if compressionType == "xz" {
xzRead, _ := xz.NewReader(file)
var out []byte = make([]byte, 70)
xzRead.Read(out)
tarRead = tar.NewReader(xzRead)
}
var out []byte = make([]byte, 70)
tarRead.Read(out)
func TarDecompressor(tarRead *tar.Reader) {
var tarOut []byte = make([]byte, 70)
tarRead.Read(tarOut)
files := make(fstest.MapFS)
for {
cur, err := tarRead.Next()