[Forensics-changes] [yara] 56/368: Add docs for new functions.

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:30:11 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 4510007320b139cd0162a9c830023aa416703c31
Author: Wesley Shields <wxs at atarininja.org>
Date:   Fri Sep 18 15:45:31 2015 -0400

    Add docs for new functions.
---
 docs/modules/pe.rst | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/docs/modules/pe.rst b/docs/modules/pe.rst
index d0c8c53..b6e6f5f 100644
--- a/docs/modules/pe.rst
+++ b/docs/modules/pe.rst
@@ -439,6 +439,24 @@ Reference
 
     *Example:  pe.imports("kernel32.dll", "WriteProcessMemory")*
 
+.. c:function:: imports(dll_name)
+
+    .. versionadded:: 3.5.0
+
+    Function returning true if the PE imports anything from *dll_name*,
+    or false otherwise. *dll_name* is case insensitive.
+
+    *Example:  pe.imports("kernel32.dll")*
+
+.. c:function:: imports(dll_name, ordinal)
+
+    .. versionadded:: 3.5.0
+
+    Function returning true if the PE imports *ordinal* from *dll_name*,
+    or false otherwise. *dll_name* is case insensitive.
+
+    *Example:  pe.imports("WS2_32.DLL", 3)*
+
 .. c:function:: locale(locale_identifier)
 
     .. versionadded:: 3.2.0

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