diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-10-15 07:32:03 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-10-15 07:32:03 +0200 |
| commit | 91b34705ce4862334ce810842f6c4ab3f0eb194a (patch) | |
| tree | acefd91c1ca962c64136b534d377b084844dc1e1 /dev/zba | |
| parent | b234fd1e1773814d9db5aea3c01d3c61d10b6067 (diff) | |
FIX: Fix PE specifications.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/zba')
| -rw-r--r-- | dev/zba/src/Thread.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/zba/src/Thread.cxx b/dev/zba/src/Thread.cxx index b7c44868..739e98eb 100644 --- a/dev/zba/src/Thread.cxx +++ b/dev/zba/src/Thread.cxx @@ -47,14 +47,14 @@ namespace Boot #ifdef __ZKA_AMD64__ if (header_ptr->mMachine != kPeMachineAMD64 || - header_ptr->mSignature != kPeMagic) + header_ptr->mSignature != kPeSignature) { writer.Write("NEWOSLDR: Not a PE32+ executable.\r"); return; } #elif defined(__ZKA_ARM64__) if (header_ptr->mMachine != kPeMachineAMD64 || - header_ptr->mSignature != kPeMagic) + header_ptr->mSignature != kPeSignature) { writer.Write("NEWOSLDR: Not a PE32+ executable.\r"); return; |
