delete bzip2 as it is not updated for more than three years so it is not in the priority

This commit is contained in:
am0o0
2024-09-03 15:33:14 +02:00
parent 81283d59ab
commit 386e45a11e
2 changed files with 0 additions and 44 deletions

View File

@@ -1,43 +0,0 @@
/**
* https://www.sourceware.org/bzip2/manual/manual.html
*/
import cpp
import semmle.code.cpp.ir.dataflow.TaintTracking
import DecompressionBomb
/**
* The `BZ2_bzDecompress` function is used in flow sink
*/
class BZ2BzDecompressFunction extends DecompressionFunction {
BZ2BzDecompressFunction() { this.hasGlobalName(["BZ2_bzDecompress"]) }
override int getArchiveParameterIndex() { result = 0 }
}
/**
* The `BZ2_bzReadOpen` function
*/
class BZ2BzReadOpenFunction extends DecompressionFunction {
BZ2BzReadOpenFunction() { this.hasGlobalName(["BZ2_bzReadOpen"]) }
override int getArchiveParameterIndex() { result = 0 }
}
/**
* The `BZ2_bzRead` function is used in flow sink.
*/
class BZ2BzReadFunction extends DecompressionFunction {
BZ2BzReadFunction() { this.hasGlobalName("BZ2_bzRead") }
override int getArchiveParameterIndex() { result = 1 }
}
/**
* The `BZ2_bzBuffToBuffDecompress` function is used in flow sink.
*/
class BZ2BzBuffToBuffDecompressFunction extends DecompressionFunction {
BZ2BzBuffToBuffDecompressFunction() { this.hasGlobalName("BZ2_bzBuffToBuffDecompress") }
override int getArchiveParameterIndex() { result = 2 }
}

View File

@@ -6,7 +6,6 @@ import ZlibInflator
import ZlibUncompress
import LibArchive
import ZSTD
import Bzip2
import Brotli
/**