[Forensics-changes] [yara] 376/407: Add some definitions missing in older versions of WinNT.h

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:28:47 UTC 2017


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag v3.3.0
in repository yara.

commit d6c4f83a9fd31a301d2ba260d022543a0cc3c030
Author: Victor M. Alvarez <plusvic at gmail.com>
Date:   Thu Feb 5 12:05:49 2015 +0100

    Add some definitions missing in older versions of WinNT.h
---
 libyara/include/yara/pe.h | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/libyara/include/yara/pe.h b/libyara/include/yara/pe.h
index 9edd53e..0b6d1b6 100644
--- a/libyara/include/yara/pe.h
+++ b/libyara/include/yara/pe.h
@@ -18,6 +18,17 @@ limitations under the License.
 
 #ifdef _WIN32
 #include <windows.h>
+
+// These definitions are not present in older Windows headers.
+
+#ifndef IMAGE_FILE_MACHINE_ARMNT
+#define IMAGE_FILE_MACHINE_ARMNT             0x01c4
+#endif
+
+#ifndef IMAGE_FILE_MACHINE_ARM64
+#define IMAGE_FILE_MACHINE_ARM64             0xaa64
+#endif
+
 #else
 
 #include <stdint.h>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git



More information about the forensics-changes mailing list