11 lines
325 B
Python
11 lines
325 B
Python
|
|
from collections import Counter
|
||
|
|
c = Counter()
|
||
|
|
with open('ne_reloc_far_calls.tsv') as f:
|
||
|
|
next(f)
|
||
|
|
for line in f:
|
||
|
|
parts = line.strip().split('\t')
|
||
|
|
tgt = parts[1]
|
||
|
|
c[tgt] += 1
|
||
|
|
for i, (addr, cnt) in enumerate(c.most_common(100)):
|
||
|
|
if i >= 60 and i < 80:
|
||
|
|
print(f'{i+1:3d} {addr} {cnt}')
|