[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] [PATCH v2 0/6] Feature: Yara file scanning



v2:

 - Fix yara dependency in packagelist
 - Use pkg-config where available
 - Improve longdesc of yara_load API
 - Fix libyara initialization and finalization
 - Import CLEANUP_FCLOSE
 - Add custom CLEANUP_DESTROY_YARA_COMPILER
 - Add rules compilation error callback
 - Other small fixes according to comments


Matteo Cafasso (6):
  appliance: add yara dependency
  New API: yara_load
  New API: yara_destroy
  New API: internal_yara_scan
  New API: yara_scan
  yara_scan: added API tests

 appliance/packagelist.in                 |   4 +
 configure.ac                             |   1 +
 daemon/Makefile.am                       |   4 +-
 daemon/cleanups.c                        |  28 +++
 daemon/cleanups.h                        |   9 +
 daemon/yara.c                            | 328 +++++++++++++++++++++++++++++++
 generator/actions.ml                     |  62 ++++++
 generator/structs.ml                     |   9 +
 gobject/Makefile.inc                     |   2 +
 java/Makefile.inc                        |   1 +
 java/com/redhat/et/libguestfs/.gitignore |   1 +
 m4/guestfs_daemon.m4                     |  14 ++
 src/MAX_PROC_NR                          |   2 +-
 src/Makefile.am                          |   1 +
 src/yara.c                               | 140 +++++++++++++
 tests/yara/Makefile.am                   |  26 +++
 tests/yara/test-yara-scan.sh             |  72 +++++++
 17 files changed, 702 insertions(+), 2 deletions(-)
 create mode 100644 daemon/yara.c
 create mode 100644 src/yara.c
 create mode 100644 tests/yara/Makefile.am
 create mode 100755 tests/yara/test-yara-scan.sh

--
2.10.2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]