diff options
| author | Peter Jones <pjones@redhat.com> | 2014-08-27 16:39:51 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2014-08-27 16:40:57 -0400 |
| commit | fa2a35ce78b3dc4e9b29f47a9ebc675a97a9a7c7 (patch) | |
| tree | 8a5bbe89277c9e9ba98e31757a1e8ad8d3fbad1f /include/PeImage.h | |
| parent | 32f10548cdf1919103654ab65601c8b15c3976a1 (diff) | |
| download | efi-boot-shim-fa2a35ce78b3dc4e9b29f47a9ebc675a97a9a7c7.tar.gz efi-boot-shim-fa2a35ce78b3dc4e9b29f47a9ebc675a97a9a7c7.zip | |
Make sure we don't try to load a binary from a different arch.
Since in theory you could, for example, get an x86_64 binary signed that
also behaves as an ARM executable, we should be checking this before
people build on other architectures.
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'include/PeImage.h')
| -rw-r--r-- | include/PeImage.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/PeImage.h b/include/PeImage.h index ec134047..133e11e6 100644 --- a/include/PeImage.h +++ b/include/PeImage.h @@ -49,6 +49,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #define IMAGE_FILE_MACHINE_EBC 0x0EBC
#define IMAGE_FILE_MACHINE_X64 0x8664
#define IMAGE_FILE_MACHINE_ARMTHUMB_MIXED 0x01c2
+#define IMAGE_FILE_MACHINE_ARM64 0xaa64
//
// EXE file formats
|
