mirror of
https://github.com/mandiant/capa.git
synced 2026-01-10 04:05:32 -08:00
For dynamic mode, even if the rdoc is gzipped, parsing it can result in a big performance hit. For example if a user load a 1MB gzipped archive, which then decompresses into a >70MB JSON object, this can result in slower parsing. We need to think about how to streamline large rdocs. This commit adds a restriction on the number of matches to show in dynamic mode (maxMatches = 1)