mirror of
https://github.com/speed47/spectre-meltdown-checker.git
synced 2025-07-15 07:11:22 +02:00
feat: add ELF magic detection on kernel image blob for some arm64 systems
This commit is contained in:
@ -607,6 +607,7 @@ extract_vmlinux()
|
||||
try_decompress '\135\0\0\0' xxx unlzma '' xz-utils "$1" && return 0
|
||||
try_decompress '\211\114\132' xy 'lzop' '-d' lzop "$1" && return 0
|
||||
try_decompress '\002\041\114\030' xyy 'lz4' '-d -l' liblz4-tool "$1" && return 0
|
||||
try_decompress '\177ELF' xxy 'cat' '' cat "$1" && return 0
|
||||
return 1
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user