mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-28 04:17:39 +00:00
Update format.h
GZIP magic is \x1f\x8b\x08 not \x1f\x8b\x08\x00
This commit is contained in:
parent
d67b827338
commit
86d8026301
@ -26,7 +26,7 @@ typedef enum {
|
|||||||
#define CHROMEOS_MAGIC "CHROMEOS"
|
#define CHROMEOS_MAGIC "CHROMEOS"
|
||||||
#define ELF32_MAGIC "\x7f""ELF\x01"
|
#define ELF32_MAGIC "\x7f""ELF\x01"
|
||||||
#define ELF64_MAGIC "\x7f""ELF\x02"
|
#define ELF64_MAGIC "\x7f""ELF\x02"
|
||||||
#define GZIP_MAGIC "\x1f\x8b\x08\x00"
|
#define GZIP_MAGIC "\x1f\x8b\x08"
|
||||||
#define LZOP_MAGIC "\x89\x4c\x5a\x4f\x00\x0d\x0a\x1a\x0a"
|
#define LZOP_MAGIC "\x89\x4c\x5a\x4f\x00\x0d\x0a\x1a\x0a"
|
||||||
#define XZ_MAGIC "\xfd""7zXZ\x00"
|
#define XZ_MAGIC "\xfd""7zXZ\x00"
|
||||||
#define BZIP_MAGIC "BZh"
|
#define BZIP_MAGIC "BZh"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user