[Forensics-changes] [yara] 131/192: Rename exported_dlls to exported_functions
Hilko Bengen
bengen at moszumanska.debian.org
Sat Jul 1 10:31:56 UTC 2017
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag v3.6.0
in repository yara.
commit dd0f7411d85ba38edb5f1cf1b2f7bc880d81f294
Author: plusvic <plusvic at gmail.com>
Date: Thu Mar 16 17:23:03 2017 +0100
Rename exported_dlls to exported_functions
---
libyara/include/yara/pe_utils.h | 3 ++-
libyara/modules/pe.c | 8 ++++----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/libyara/include/yara/pe_utils.h b/libyara/include/yara/pe_utils.h
index a692548..8aff2a2 100644
--- a/libyara/include/yara/pe_utils.h
+++ b/libyara/include/yara/pe_utils.h
@@ -64,7 +64,8 @@ typedef struct _PE
YR_OBJECT* object;
IMPORTED_DLL* imported_dlls;
- IMPORT_EXPORT_FUNCTION* exported_dlls;
+ IMPORT_EXPORT_FUNCTION* exported_functions;
+
uint32_t resources;
} PE;
diff --git a/libyara/modules/pe.c b/libyara/modules/pe.c
index 000354d..a89f5fc 100644
--- a/libyara/modules/pe.c
+++ b/libyara/modules/pe.c
@@ -1525,7 +1525,7 @@ define_function(exports)
if (pe == NULL)
return_integer(UNDEFINED);
- IMPORT_EXPORT_FUNCTION* exported_func = pe->exported_dlls;
+ IMPORT_EXPORT_FUNCTION* exported_func = pe->exported_functions;
while (exported_func != NULL)
{
@@ -1549,7 +1549,7 @@ define_function(exports_ordinal)
if (!pe)
return_integer(UNDEFINED);
- IMPORT_EXPORT_FUNCTION* exported_func = pe->exported_dlls;
+ IMPORT_EXPORT_FUNCTION* exported_func = pe->exported_functions;
while (exported_func != NULL)
{
@@ -2602,7 +2602,7 @@ int module_load(
#endif
pe->imported_dlls = pe_parse_imports(pe);
- pe->exported_dlls = pe_parse_exports(pe);
+ pe->exported_functions = pe_parse_exports(pe);
break;
}
@@ -2650,7 +2650,7 @@ int module_unload(
dll = next_dll;
}
- func = pe->exported_dlls;
+ func = pe->exported_functions;
while (func)
{
--
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