[Forensics-changes] [yara] 277/407: Remove "data" from resources.

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:28:36 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 d5b071c7599d2c5f4f4727493434d835dbc12af4
Author: Wesley Shields <wxs at atarininja.org>
Date:   Mon Dec 29 22:19:26 2014 -0500

    Remove "data" from resources.
---
 libyara/modules/pe.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/libyara/modules/pe.c b/libyara/modules/pe.c
index 9bc7f9c..ced7f02 100644
--- a/libyara/modules/pe.c
+++ b/libyara/modules/pe.c
@@ -633,13 +633,6 @@ int pe_collect_resources(
         "resources[%i].length",
         pe->resources);
 
-  set_sized_string(
-        (char*) (pe->data + offset),
-        rsrc_data->Size,
-        pe->object,
-        "resources[%i].data",
-        pe->resources);
-
   // Resources we do extra parsing on
   if (rsrc_type == RESOURCE_TYPE_VERSION)
     pe_parse_version_info(rsrc_data, pe);
@@ -1544,7 +1537,6 @@ begin_declarations;
     declare_integer("id")
     declare_integer("language")
     declare_integer("length")
-    declare_string("data")
   end_struct_array("resources");
   declare_integer("number_of_resources");
 

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