[Libguestfs] [PATCH v3 0/7] Feature: Yara file scanning

Matteo Cafasso noxdafox at gmail.com
Sun Feb 19 17:09:51 UTC 2017


Rebase patches on top of 1.35.25.

No changes since last series.

Matteo Cafasso (7):
  daemon: expose file upload logic
  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                        |   9 +
 daemon/cleanups.h                        |   2 +
 daemon/daemon.h                          |   3 +
 daemon/upload.c                          |  70 +++----
 daemon/yara.c                            | 301 +++++++++++++++++++++++++++++++
 generator/actions.ml                     |  64 +++++++
 generator/structs.ml                     |   9 +
 gobject/Makefile.inc                     |   8 +-
 java/Makefile.inc                        |   1 +
 java/com/redhat/et/libguestfs/.gitignore |   1 +
 lib/MAX_PROC_NR                          |   2 +-
 lib/Makefile.am                          |   1 +
 lib/yara.c                               | 127 +++++++++++++
 m4/guestfs_daemon.m4                     |  14 ++
 tests/yara/Makefile.am                   |  26 +++
 tests/yara/test-yara-scan.sh             |  72 ++++++++
 19 files changed, 684 insertions(+), 35 deletions(-)
 create mode 100644 daemon/yara.c
 create mode 100644 lib/yara.c
 create mode 100644 tests/yara/Makefile.am
 create mode 100755 tests/yara/test-yara-scan.sh

--
2.11.0




More information about the Libguestfs mailing list