mirror of
https://github.com/mandiant/capa.git
synced 2026-07-28 14:47:08 -07:00
vmray: improve comments __init__.py
This commit is contained in:
@@ -56,6 +56,9 @@ class VMRayAnalysis:
|
||||
|
||||
self._find_sample_file()
|
||||
|
||||
# VMRay analysis archives in various shapes and sizes and file type does not definitively tell us what data
|
||||
# we can expect to find in the archive, so to be explicit we check for the various pieces that we need at
|
||||
# minimum to run capa analysis
|
||||
if self.sample_file_name is None or self.sample_file_analysis is None:
|
||||
raise UnsupportedFormatError("VMRay archive does not contain sample file (file_type: %s)" % self.file_type)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user