[Forensics-changes] [yara] 285/368: Remove YR_AC_STATE and YR_AC_AUTOMATON from alignments tests

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:30:48 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 d7699c65ee6d61c912fa9d59b7308daa8c7c76d8
Author: plusvic <plusvic at gmail.com>
Date:   Mon May 30 12:40:56 2016 +0200

    Remove YR_AC_STATE and YR_AC_AUTOMATON from alignments tests
    
    These two structures are not saved as part of compiled rules anymore, so the checks are not necessary.
---
 tests/test-alignment.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/tests/test-alignment.c b/tests/test-alignment.c
index ebddc98..dc33c3e 100644
--- a/tests/test-alignment.c
+++ b/tests/test-alignment.c
@@ -109,14 +109,6 @@ int main (int argc, char **argv)
   CHECK_OFFSET(YR_AC_MATCH, 24, backward_code);
   CHECK_OFFSET(YR_AC_MATCH, 32, next);
 
-  CHECK_SIZE(YR_AC_STATE, 40);
-  CHECK_OFFSET(YR_AC_STATE, 8,  failure);
-  CHECK_OFFSET(YR_AC_STATE, 16, first_child);
-  CHECK_OFFSET(YR_AC_STATE, 24, siblings);
-  CHECK_OFFSET(YR_AC_STATE, 32, matches);
-
-  CHECK_SIZE(YR_AC_AUTOMATON, 32);
-
   CHECK_SIZE(YARA_RULES_FILE_HEADER, 48);
   CHECK_OFFSET(YARA_RULES_FILE_HEADER, 8,  rules_list_head);
   CHECK_OFFSET(YARA_RULES_FILE_HEADER, 16, externals_list_head);

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