提交 47a18a2d 编写于 作者: A Adam Borowski 提交者: Masahiro Yamada

scripts: teach extract-vmlinux about LZ4 and ZSTD

Note that the LZ4 signature is different than that of modern LZ4 as we
use the "legacy" format which suffers from some downsides like inability
to disable compression.
Signed-off-by: NAdam Borowski <kilobyte@angband.pl>
Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
上级 6916162c
...@@ -57,6 +57,8 @@ try_decompress '\3757zXZ\000' abcde unxz ...@@ -57,6 +57,8 @@ try_decompress '\3757zXZ\000' abcde unxz
try_decompress 'BZh' xy bunzip2 try_decompress 'BZh' xy bunzip2
try_decompress '\135\0\0\0' xxx unlzma try_decompress '\135\0\0\0' xxx unlzma
try_decompress '\211\114\132' xy 'lzop -d' try_decompress '\211\114\132' xy 'lzop -d'
try_decompress '\002!L\030' xxx 'lz4 -d'
try_decompress '(\265/\375' xxx unzstd
# Bail out: # Bail out:
echo "$me: Cannot find vmlinux." >&2 echo "$me: Cannot find vmlinux." >&2
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册