remove xz(lzma)

This commit is contained in:
am0o0
2024-09-03 14:48:36 +02:00
parent 6c97096642
commit 4fc971dbcb
2 changed files with 0 additions and 26 deletions

View File

@@ -5,7 +5,6 @@ import ZlibGzopen
import ZlibInflator
import ZlibUncompress
import LibArchive
import XZ
import ZSTD
import Bzip2
import Brotli

View File

@@ -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 }
}