[Forensics-changes] [yara] 101/135: Update documentation
Hilko Bengen
bengen at moszumanska.debian.org
Sat Jul 1 10:27:36 UTC 2017
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag v3.1.0
in repository yara.
commit a9db0ea9f8c3a052ccd32ce78177d69fda7717ab
Author: Victor Manuel Alvarez <vmalvarez at virustotal.com>
Date: Sat Aug 16 23:49:32 2014 +0200
Update documentation
---
docs/writingmodules.rst | 14 +++++++-------
docs/writingrules.rst | 2 +-
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/docs/writingmodules.rst b/docs/writingmodules.rst
index 88e23d8..5e09aa7 100644
--- a/docs/writingmodules.rst
+++ b/docs/writingmodules.rst
@@ -4,13 +4,13 @@
Writing your own modules
************************
-For the first time ever, in YARA 3.0 you can extend its features to express
-more complex and refined conditions. YARA 3.0 does this by employing
-modules, which you can use to define data structures and functions, which
-can be later used from within your rules. You can see some examples of
+For the first time ever, in YARA 3.0 you can extend its features to express
+more complex and refined conditions. YARA 3.0 does this by employing
+modules, which you can use to define data structures and functions, which
+can be later used from within your rules. You can see some examples of
what a module can do in the :ref:`using-modules` section.
-The purpose of the following sections is to teach you how to create your
+The purpose of the following sections is to teach you how to create your
own modules for giving YARA that cool feature you always dreamed of.
@@ -28,7 +28,7 @@ of the source tree. It's recommended to use the module name as the file name for
the source file, if your module's name is *foo* its source file should be
*foo.c*.
-In the *libyara/modules* directory you'll find a *demo.c* file. We'll use
+In the *libyara/modules* directory you'll find a *demo.c* file we'll use
as our starting point. The file looks like this:
.. code-block:: c
@@ -91,7 +91,7 @@ Then follows the declaration section:
Here is where the module declares the functions and data structures that will
be available for your YARA rules. In this case we are declaring just a
-string variable named *greeting*. We are going to discuss these concepts more
+string variable named *greeting*. We are going to discuss these concepts more
in greater detail in the :ref:`declaration-section`.
Then comes the ``module_load`` function:
diff --git a/docs/writingrules.rst b/docs/writingrules.rst
index 0b45e76..8ac8ca2 100644
--- a/docs/writingrules.rst
+++ b/docs/writingrules.rst
@@ -613,7 +613,7 @@ this variable evaluates to false.
.. warning:: The ``entrypoint`` variable is deprecated, you should use the
equivalent ``pe.entry_point`` from the :ref:`pe-module` instead. Starting
- with YARA 2.2 you'll get a warning if you use ``entrypoint`` and it will be
+ with YARA 3.0 you'll get a warning if you use ``entrypoint`` and it will be
completely removed in future versions.
--
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