mirror of
https://github.com/mandiant/capa.git
synced 2025-12-21 23:00:29 -08:00
tests: save .viv by default, hopefully improve test performance
This commit is contained in:
@@ -84,6 +84,7 @@ def get_viv_extractor(path):
|
||||
vw = capa.main.get_workspace(path, "sc64", sigpaths=sigpaths)
|
||||
else:
|
||||
vw = capa.main.get_workspace(path, "auto", sigpaths=sigpaths)
|
||||
vw.saveWorkspace()
|
||||
extractor = capa.features.extractors.viv.extractor.VivisectFeatureExtractor(vw, path)
|
||||
fixup_viv(path, extractor)
|
||||
return extractor
|
||||
|
||||
Reference in New Issue
Block a user