Merge branch 'profiling' into perf/short-circuit

This commit is contained in:
William Ballenthin
2021-11-08 15:24:50 -07:00

View File

@@ -1019,9 +1019,6 @@ def main(argv=None):
meta["analysis"].update(counts)
meta["analysis"]["layout"] = compute_layout(rules, extractor, capabilities)
for (counter, count) in capa.perf.counters.most_common():
logger.debug("perf: counter: {:}: {:,}".format(counter, count))
if has_file_limitation(rules, capabilities):
# bail if capa encountered file limitation e.g. a packed binary
# do show the output in verbose mode, though.