mirror of
https://github.com/mandiant/capa.git
synced 2025-12-12 15:49:46 -08:00
disable flirt matching on elf files
This commit is contained in:
@@ -982,7 +982,11 @@ def main(argv=None):
|
||||
return -1
|
||||
|
||||
try:
|
||||
sig_paths = get_signatures(args.signatures)
|
||||
if args.format == "elf" or (args.format == "auto" and taste.startswith(b"\x7fELF")):
|
||||
sig_paths = []
|
||||
logger.debug("skipping library code matching: there are no ELF signatures yet")
|
||||
else:
|
||||
sig_paths = get_signatures(args.signatures)
|
||||
except (IOError) as e:
|
||||
logger.error("%s", str(e))
|
||||
return -1
|
||||
|
||||
Reference in New Issue
Block a user