mirror of
https://github.com/mandiant/capa.git
synced 2025-12-12 15:49:46 -08:00
init variable :/
This commit is contained in:
@@ -942,6 +942,7 @@ def main(argv=None):
|
||||
logger.error("%s", str(e))
|
||||
return -1
|
||||
|
||||
file_extractor = None
|
||||
if args.format == "pe" or (args.format == "auto" and taste.startswith(b"MZ")):
|
||||
# these pefile and elffile file feature extractors are pretty light weight: they don't do any code analysis.
|
||||
# so we can fairly quickly determine if the given file has "pure" file-scope rules
|
||||
|
||||
Reference in New Issue
Block a user