[Forensics-changes] [yara] 304/407: Rename to just deviation().

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:28:39 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 65cff67bc99aaa354ebcaa42af4f3bb9bcb69b91
Author: Wesley Shields <wxs at atarininja.org>
Date:   Sat Jan 3 15:48:32 2015 -0500

    Rename to just deviation().
---
 libyara/modules/math.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/libyara/modules/math.c b/libyara/modules/math.c
index 141f397..db6f84b 100644
--- a/libyara/modules/math.c
+++ b/libyara/modules/math.c
@@ -142,7 +142,7 @@ define_function(data_entropy)
 }
 
 
-define_function(string_mean_deviation)
+define_function(string_deviation)
 {
   int i;
   double sum = 0.0;
@@ -160,7 +160,7 @@ define_function(string_mean_deviation)
 }
 
 
-define_function(data_mean_deviation)
+define_function(data_deviation)
 {
   int i;
   double sum = 0.0;
@@ -532,8 +532,8 @@ define_function(string_monte_carlo_pi)
 begin_declarations;
 
   declare_double("MEAN_BYTES");
-  declare_function("mean_deviation", "iid", "d", data_mean_deviation);
-  declare_function("mean_deviation", "sd", "d", string_mean_deviation);
+  declare_function("deviation", "iid", "d", data_deviation);
+  declare_function("deviation", "sd", "d", string_deviation);
   declare_function("mean", "ii", "d", data_mean);
   declare_function("mean", "s", "d", string_mean);
   declare_function("serial_correlation", "ii", "d", data_serial_correlation);

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