mirror of
https://github.com/github/codeql.git
synced 2026-04-21 23:14:03 +02:00
remove xz(lzma)
This commit is contained in:
@@ -5,7 +5,6 @@ import ZlibGzopen
|
||||
import ZlibInflator
|
||||
import ZlibUncompress
|
||||
import LibArchive
|
||||
import XZ
|
||||
import ZSTD
|
||||
import Bzip2
|
||||
import Brotli
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
/**
|
||||
* https://github.com/tukaani-project/xz
|
||||
*/
|
||||
|
||||
import cpp
|
||||
import semmle.code.cpp.ir.dataflow.TaintTracking
|
||||
import DecompressionBomb
|
||||
|
||||
/**
|
||||
* The `lzma_code` function is used in flow sink.
|
||||
*/
|
||||
class LzmaCodeFunction extends DecompressionFunction {
|
||||
LzmaCodeFunction() { this.hasGlobalName(["lzma_code"]) }
|
||||
|
||||
override int getArchiveParameterIndex() { result = 0 }
|
||||
}
|
||||
|
||||
/**
|
||||
* The `lzma_stream_buffer_decode` function is used in flow sink.
|
||||
*/
|
||||
class LzmaStreamBufferDecodeFunction extends DecompressionFunction {
|
||||
LzmaStreamBufferDecodeFunction() { this.hasGlobalName(["lzma_stream_buffer_decode"]) }
|
||||
|
||||
override int getArchiveParameterIndex() { result = 1 }
|
||||
}
|
||||
Reference in New Issue
Block a user