Browse Source

feat: add zstd kernel decompression (#370)

pull/375/head
Stéphane Lesimple 2 years ago
parent
commit
fa4d3d794d
  1. 1
      spectre-meltdown-checker.sh

1
spectre-meltdown-checker.sh

@ -1376,6 +1376,7 @@ extract_kernel() @@ -1376,6 +1376,7 @@ extract_kernel()
try_decompress '\135\0\0\0' xxx unlzma '' xz-utils "$1" "$mode" "$pass" && return 0
try_decompress '\211\114\132' xy 'lzop' '-d' lzop "$1" "$mode" "$pass" && return 0
try_decompress '\177ELF' xxy 'cat' '' cat "$1" "$mode" "$pass" && return 0
try_decompress '(\265/\375' xxy unzstd '' zstd "$1" "$mode" "$pass" && return 0
done
done
kernel_err="kernel compression format is unknown or image is invalid"

Loading…
Cancel
Save