33 */
44
55import cpp
6- import semmle.code.cpp.ir.dataflow.TaintTracking
76import DecompressionBomb
87
98/**
109 * The `ZSTD_decompress` function is used in flow sink.
1110 */
1211class ZstdDecompressFunction extends DecompressionFunction {
13- ZstdDecompressFunction ( ) { this .hasGlobalName ( [ "ZSTD_decompress" ] ) }
12+ ZstdDecompressFunction ( ) { this .hasGlobalName ( "ZSTD_decompress" ) }
1413
1514 override int getArchiveParameterIndex ( ) { result = 2 }
1615}
@@ -19,7 +18,7 @@ class ZstdDecompressFunction extends DecompressionFunction {
1918 * The `ZSTD_decompressDCtx` function is used in flow sink.
2019 */
2120class ZstdDecompressDctxFunction extends DecompressionFunction {
22- ZstdDecompressDctxFunction ( ) { this .hasGlobalName ( [ "ZSTD_decompressDCtx" ] ) }
21+ ZstdDecompressDctxFunction ( ) { this .hasGlobalName ( "ZSTD_decompressDCtx" ) }
2322
2423 override int getArchiveParameterIndex ( ) { result = 3 }
2524}
@@ -28,7 +27,7 @@ class ZstdDecompressDctxFunction extends DecompressionFunction {
2827 * The `ZSTD_decompressStream` function is used in flow sink.
2928 */
3029class ZstdDecompressStreamFunction extends DecompressionFunction {
31- ZstdDecompressStreamFunction ( ) { this .hasGlobalName ( [ "ZSTD_decompressStream" ] ) }
30+ ZstdDecompressStreamFunction ( ) { this .hasGlobalName ( "ZSTD_decompressStream" ) }
3231
3332 override int getArchiveParameterIndex ( ) { result = 2 }
3433}
@@ -37,7 +36,7 @@ class ZstdDecompressStreamFunction extends DecompressionFunction {
3736 * The `ZSTD_decompress_usingDDict` function is used in flow sink.
3837 */
3938class ZstdDecompressUsingDdictFunction extends DecompressionFunction {
40- ZstdDecompressUsingDdictFunction ( ) { this .hasGlobalName ( [ "ZSTD_decompress_usingDDict" ] ) }
39+ ZstdDecompressUsingDdictFunction ( ) { this .hasGlobalName ( "ZSTD_decompress_usingDDict" ) }
4140
4241 override int getArchiveParameterIndex ( ) { result = 3 }
4342}
0 commit comments