[Forensics-changes] [yara] 344/407: Fix 32BIT_MACHINE issue.
Hilko Bengen
bengen at moszumanska.debian.org
Sat Jul 1 10:28:43 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 922ecec7d9bf5d0fe0a1a9f6106b426713f7211a
Author: Wesley Shields <wxs at atarininja.org>
Date: Tue Jan 27 09:45:24 2015 -0500
Fix 32BIT_MACHINE issue.
Module definitions can not start with numbers as the compiler gets very
confused.
Fixes #243.
---
libyara/modules/pe.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libyara/modules/pe.c b/libyara/modules/pe.c
index b6e809e..66321a3 100644
--- a/libyara/modules/pe.c
+++ b/libyara/modules/pe.c
@@ -1458,7 +1458,7 @@ begin_declarations;
declare_integer("AGGRESIVE_WS_TRIM");
declare_integer("LARGE_ADDRESS_AWARE");
declare_integer("BYTES_REVERSED_LO");
- declare_integer("32BIT_MACHINE");
+ declare_integer("I386_MACHINE");
declare_integer("DEBUG_STRIPPED");
declare_integer("REMOVABLE_RUN_FROM_SWAP");
declare_integer("NET_RUN_FROM_SWAP");
@@ -1627,7 +1627,7 @@ int module_load(
"BYTES_REVERSED_LO");
set_integer(
IMAGE_FILE_32BIT_MACHINE, module_object,
- "32BIT_MACHINE");
+ "I386_MACHINE");
set_integer(
IMAGE_FILE_DEBUG_STRIPPED, module_object,
"DEBUG_STRIPPED");
--
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