[Forensics-changes] [yara] 139/368: Revert files to state before my testing on nested dicts

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:30:21 UTC 2017


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

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

commit 8a843add2e3309590bdb6c133c0a0cbbf15fdf99
Author: AB <AB at null.com>
Date:   Sat Jan 9 14:12:50 2016 -0800

    Revert files to state before my testing on nested dicts
---
 libyara/Makefile.am         |  2 --
 libyara/modules/demo.c      | 15 ---------------
 libyara/modules/module_list |  2 --
 3 files changed, 19 deletions(-)

diff --git a/libyara/Makefile.am b/libyara/Makefile.am
index 61de811..049dccc 100644
--- a/libyara/Makefile.am
+++ b/libyara/Makefile.am
@@ -16,8 +16,6 @@ if HASH
 MODULES += modules/hash.c
 endif
 
-MODULES += modules/demo.c
-
 #
 # Add your modules here:
 #
diff --git a/libyara/modules/demo.c b/libyara/modules/demo.c
index 53ff321..1906a2f 100644
--- a/libyara/modules/demo.c
+++ b/libyara/modules/demo.c
@@ -22,17 +22,6 @@ begin_declarations;
 
   declare_string("greeting");
 
-  begin_struct_dictionary("d1");
-    declare_integer("i1");
-  end_struct_dictionary("d1");
-
-  begin_struct_dictionary("d2");
-    declare_integer("i2");
-    begin_struct_dictionary("d2_2");
-      declare_integer("i3");
-    end_struct_dictionary("d2_2");
-  end_struct_dictionary("d2");
-
 end_declarations;
 
 
@@ -58,10 +47,6 @@ int module_load(
 {
   set_string("Hello World!", module_object, "greeting");
 
-  set_integer(5, module_object, "d1[\"abc\"].i1");
-  set_integer(5, module_object, "d2[\"def\"].i2");
-  set_integer(5, module_object, "d2[\"def\"].d2_2[\"ghi\"].i3");
-
   return ERROR_SUCCESS;
 }
 
diff --git a/libyara/modules/module_list b/libyara/modules/module_list
index 095ac2a..1a0bd02 100644
--- a/libyara/modules/module_list
+++ b/libyara/modules/module_list
@@ -14,5 +14,3 @@ MODULE(magic)
 #ifdef HASH
 MODULE(hash)
 #endif
-
-MODULE(demo)

-- 
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