mirror of
https://github.com/github/codeql.git
synced 2026-04-24 00:05:14 +02:00
delete bzip2 as it is not updated for more than three years so it is not in the priority
This commit is contained in:
@@ -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 }
|
||||
}
|
||||
@@ -6,7 +6,6 @@ import ZlibInflator
|
||||
import ZlibUncompress
|
||||
import LibArchive
|
||||
import ZSTD
|
||||
import Bzip2
|
||||
import Brotli
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user