We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e62f38e commit 990de9dCopy full SHA for 990de9d
mythril/src/linux.rs
@@ -85,7 +85,7 @@ pub fn load_linux(
85
let magic = LittleEndian::read_u32(&kernel[offsets::HEADER_MAGIC]);
86
87
// HdrS
88
- if magic != 0x53726448 {
+ if magic != HEADER_MAGIC_VALUE {
89
error!("Invalid kernel image (bad magic = 0x{:x})", magic);
90
return Err(Error::InvalidValue);
91
}
0 commit comments