mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
New API: internal_yara_scan
The internal_yara_scan runs the Yara engine with the previously loaded rules against the given file. For each rule matching against the scanned file, a struct containing the file name and the rule identifier is returned. The gathered list of yara_detection structs is serialised into XDR format and written to a file. Signed-off-by: Matteo Cafasso <noxdafox@gmail.com>
This commit is contained in:
committed by
Richard W.M. Jones
parent
09bab5d38c
commit
d00dc913aa
@@ -46,4 +46,5 @@ java_built_sources = \
|
||||
com/redhat/et/libguestfs/Version.java \
|
||||
com/redhat/et/libguestfs/XAttr.java \
|
||||
com/redhat/et/libguestfs/XFSInfo.java \
|
||||
com/redhat/et/libguestfs/YaraDetection.java \
|
||||
com/redhat/et/libguestfs/GuestFS.java
|
||||
|
||||
1
java/com/redhat/et/libguestfs/.gitignore
vendored
1
java/com/redhat/et/libguestfs/.gitignore
vendored
@@ -23,3 +23,4 @@ VG.java
|
||||
Version.java
|
||||
XAttr.java
|
||||
XFSInfo.java
|
||||
YaraDetection.java
|
||||
|
||||
Reference in New Issue
Block a user