mirror of
https://github.com/mandiant/capa.git
synced 2025-12-29 06:03:52 -08:00
render: hint number of hidden locations
This commit is contained in:
@@ -66,7 +66,7 @@ def render_feature(ostream, match, feature, indent=0):
|
||||
# don't display too many locations, because it becomes very noisy.
|
||||
# probably only the first handful of locations will be useful for inspection.
|
||||
ostream.write(', '.join(map(rutils.hex, locations[0:4])))
|
||||
ostream.write(', ...')
|
||||
ostream.write(', and %d more...' % (len(locations) - 4))
|
||||
else:
|
||||
ostream.write(', '.join(map(rutils.hex, locations)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user